Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6624178
Votes 0
Synopsis Regression test fails: test/closed/javax/swing/JComboBox/4515752/DefaultButtonTest.java
Category java:classes_swing
Reported Against
Release Fixed 7(b38), 6u10(b31) (Bug ID:2165673)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 4515752
Submit Date 31-OCT-2007
Description
Regression test fails: test/closed/javax/swing/JComboBox/4515752/DefaultButtonTest.java

JDK: 7 b22
Tested OSes: 
- Solaris nevada b70: sometimes test fails, sometimes test passes
- Linux i686: test fails
- Windows XP: test passes

Stack trace:
java.lang.RuntimeException: defaultButtonPressed unexpectedly = false
	at DefaultButtonTest.testDefaultButton(DefaultButtonTest.java:111)
	at DefaultButtonTest$RobotThread.run(DefaultButtonTest.java:92)
	at java.lang.Thread.run(Thread.java:675)

The test logs are in the attachment.
Posted Date : 2008-08-05 11:15:14.0
Work Around
N/A
Evaluation
Looks like a JRobot timing issue.
Posted Date : 2007-10-31 14:16:03.0

The bug is in the regression test itself. The test has a tricky thread synchronization, which sometimes works wrong. A fix can replace it with more robust algorithm based on SunToolkit.realSync().
Posted Date : 2008-08-05 11:02:05.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang