JDK-6629078 : Regression test fails: test/closed/javax/swing/JComboBox/6596544/bug6596544.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2007-11-13
  • Updated: 2011-01-19
  • Resolved: 2007-12-29
Related Reports
Relates :  
Description
Regression test fails: test/closed/javax/swing/JComboBox/6596544/bug6596544.java

JDK: 7 b22
Tested OSes:
- Solaris sparc 5.10: test fails
- Linux i686: test passes
- Windows XP: test passes

Stack trace:
java.lang.RuntimeException: JComboBox editor stays visible when popup has gone
    at SwingTestHelper.fail(SwingTestHelper.java:691)
    at bug6596544.onBackgroundThread10(bug6596544.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:623)
    at SwingTestHelper.invoke(SwingTestHelper.java:625)
    at SwingTestHelper.controlLoop(SwingTestHelper.java:571)
    at SwingTestHelper.access$700(SwingTestHelper.java:173)
    at SwingTestHelper$4.run(SwingTestHelper.java:497)
    at java.lang.Thread.run(Thread.java:659)

The test logs in the attachment.

Comments
EVALUATION It seems, that I executed the test on solaris-sparc jdk7b20 and found the bug. However, the fix for 6596544 was integrated only into b22. I tried the test case on jdk7 b24 on solaris-sparc and it successfully passed. Consequently, it is not a bug.
29-12-2007

EVALUATION Looks like a timing issue.
13-11-2007