Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4916704

simple java awt program hangs in constructor for J2SE1.4.1_02/1.4.1_03

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.1_02
    • client-libs
    • x86
    • windows_2000

      My ISV encounters a jvm(1.4.1_02/1.4.1_03) problem on Win2K(SP3). Currently
      the problem only happens on Pentium 4 (2.4GHz, single or multiple CPU) machine.
      The testcase(TestImage.java) is attached below:

      import java.awt.Frame;

      public class TestImage extends Frame
      {
          /** Constructor for the TestImage class.
      */
          public TestImage() {
      System.out.println("It didn't hang!");
          }

      /** TestImage main method
      */
          public static void main (String args[])
          {
              TestImage app = new TestImage();
              app.setVisible( true );
          }
      }

      When happened, the jvm will hang in the constructor of TestImage without
      displaying "It didn't hang". Please see attachment fail.txt for -verbose:class
      output.

            bchristi Brent Christian
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: