JDK-4115097 : Static Font causes vm hang
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1998-02-25
  • Updated: 1998-07-17
  • Resolved: 1998-07-17
Related Reports
Relates :  
Description

Name: rm29839			Date: 02/24/98


run Test1 from the command line and the app will hang.

// In file Test1.java
class Test1
{
    public static void main( String argv[] )
    {
        System.out.println( "We're here" );
        SubClass1.proc1();
    }
}

// In file SubClass1.java
import java.awt.*;

final public class SubClass1
{
    public static void proc1()
    {
    }
    
    private static Font stdFont = new Font( "Arial", Font.BOLD, 14 ); 
}
(Review ID: 25309)
======================================================================

Comments
WORK AROUND Name: rm29839 Date: 02/24/98 Use System.exit(0); ======================================================================
11-06-2004

EVALUATION affects legacy application compatibility paul.charlton@eng 1998-05-15 actually, this _IS_ the legacy behavior on JDK 1.1 -- will not fix paul.charlton@eng 1998-07-16
15-05-1998

PUBLIC COMMENTS affects legacy application compatibility paul.charlton@eng 1998-05-15 actually, this _IS_ the legacy behavior on JDK 1.1 -- will not fix paul.charlton@eng 1998-07-16
15-05-1998