-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
x86
-
solaris
Tested with jdk1.4 build 1.4.0beta-b44 on Solaris 7 and 8/Sparc and Solaris 2.6 and 8/x86
Test cases which use JPopupMenu or JCpmboBox causes abnormal termination as below;
# # An unexpected exception has been detected in native code outside the VM.# Program counter=0xf45205e4
#
# Problematic Thread: prio=6 tid=0x1313b8 nid=0xc runnable
#
To reproduce,
1. Compile and run attached test cases;
JComboBoxTest.java JPopupTest.java
2. JComboBoxTest: select one of the item form JComboBox.
JPopuptest : click with right button of a mouse on the frame and select one of the item from the menu.
It works correctly.
3. Please do the same as 2.
Then, the abnormal termination occurs.
----------Testing infomation-----------------
JComboBoxTest.java and JPopupTest.java use ActionEvent.getActionCommand and cause abnormal termination.
This problem is not reproduced with JComboBox demo in SwingSet demo and the demo does not use ActionEvent.getActionCommand.
I tested some test cases for JButton, JRadioButton or MenuItem which use ActionEvent.getActionCommand and these cases do not cause this problem.
JButtonTes.java is also attached for NOT-REPRODUCIBLE case.
It works fine and does not cause the error.
-----------------------------------------------
This is not reprodurible with Ladybird and Kestrel.
- duplicates
-
JDK-4399623 Regression: JVM aborts when clicking JScrollBar in JComboBox twice
-
- Closed
-