JDK-4916704 : simple java awt program hangs in constructor for J2SE1.4.1_02/1.4.1_03
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.1_02
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2003-09-03
  • Updated: 2003-10-03
  • Resolved: 2003-10-03
Related Reports
Duplicate :  
Description
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.

Comments
WORK AROUND J2SE1.4.2 won't have this issue but for certification issue, the ISV cannot use J2SE1.4.2
11-06-2004

EVALUATION Obviously, this isn't likely to be a problem with the JRE. Most likely, the video drivers or hardware on that particular machine aren't working. Someone will have to contact the submitter and gather diagnostic information. I'm going to set this report to incomplete, since the Description says it is seen on Windows/pentium, but the Customer Call Record, says Solaris8/sparc. We need to know which platform or platforms are in use. ###@###.### 2003-09-03 Sorry. Just update the customer call record to correctly show the hardware and OS version. BTW, please let me know how and what to collect on the ISV's victim machines, because the problem happens on at least three machines. ###@###.### 2003-09-03 This is looking more and more like a dup of 4684966. ###@###.### 2003-10-01 Closing as dup at agreement of Sun contact. ###@###.### 2003-10-02
03-09-2003