FIX: WJView Hangs with CPU Usage at 100% Using 315x VMsID: Q223355
|
Running the below program causes the Microsoft virtual machine (Microsoft VM) to use 100 percent of the CPU's processing capacity. This process will hang the PC until it is terminated.
This is due to a bug found in builds 315x of the Microsoft VM's exception-handling logic.
Download and install the latest Microsoft VM from the following Web page:
http://www.microsoft.com/java/download.htm
Microsoft has confirmed this to be a bug in Microsoft Win32 virtual machine Version 315x.
public class Test
{
public static void main( String [] args )
{
Integer i = new Integer( 6 );
synchronized( i )
{
if (true)
throw new NullPointerException();
}
}
}
For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java,
please see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/
http://support.microsoft.com/support/java/
© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Adele Hunter, Microsoft Corporation
Additional query words:
Keywords : kbSDKJava kbVJ600fix
Version : WINDOWS:3.1,6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 27, 1999