-
Type:
Bug
-
Status: Closed
-
Priority:
P2
-
Resolution: Fixed
-
Affects Version/s: 6, 6u10, 7
-
Fix Version/s: 7
-
Component/s: client-libs
-
Subcomponent:
-
Resolved In Build:b62
-
CPU:x86
-
OS:windows_xp, windows_vista
-
Verification:Verified
The following simplified code sample below, extracted from JCK tests reproduces the problem. Using the code below JVM crash is reproducible approximately in 80%, several attempts might be needed.
JCK tests failed on the first run.
Tests failed on JDK7b50/Vista, issue reproduced and localized on JDK7b54/XP; (BTW JVM crash is not reproducible on Windows 7, and the tests passed on Windows 2003).
Log is attached.
-------------------------------------------
import java.awt.*;
public class JVMCrash {
public static void main(String argv[]) throws Exception {
Frame sharedFrame = new Frame();
sharedFrame.setVisible(true);
Thread.sleep(2000);
sharedFrame.setFocusTraversalPolicy( new ContainerOrderFocusTraversalPolicy() );
Component comp = new TextField();
sharedFrame.add(comp);
comp.requestFocusInWindow();
sharedFrame.removeAll();
}
}
-------------------------------------------
JCK 7 b12 qac
JDK 7 b50
Platform: Windows Vista
TestURL: api/java_awt/awt_focus_subsystem/keyeventdispatcher_keyeventpostprocessor/index.html#KeyEventDispatcher
JCK tests failed on the first run.
Tests failed on JDK7b50/Vista, issue reproduced and localized on JDK7b54/XP; (BTW JVM crash is not reproducible on Windows 7, and the tests passed on Windows 2003).
Log is attached.
-------------------------------------------
import java.awt.*;
public class JVMCrash {
public static void main(String argv[]) throws Exception {
Frame sharedFrame = new Frame();
sharedFrame.setVisible(true);
Thread.sleep(2000);
sharedFrame.setFocusTraversalPolicy( new ContainerOrderFocusTraversalPolicy() );
Component comp = new TextField();
sharedFrame.add(comp);
comp.requestFocusInWindow();
sharedFrame.removeAll();
}
}
-------------------------------------------
JCK 7 b12 qac
JDK 7 b50
Platform: Windows Vista
TestURL: api/java_awt/awt_focus_subsystem/keyeventdispatcher_keyeventpostprocessor/index.html#KeyEventDispatcher