<Swing Dev> RFR JDK-8143021: [TEST_BUG] Test javax/swing/JColorChooser/Test6541987.java fails for Ubuntu 15.10

Ahmad Ahmad shaik.ahmad at oracle.com
Tue Mar 22 06:13:56 UTC 2016


Hello,

 

Please review fix for JDK9 test bug.

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8143021

Webrev: http://cr.openjdk.java.net/~srastogi/shaik/webrev.01/

 

Issue:

java.lang.Error: found visible window: frame0 

at Test6541987.main(Test6541987.java:64)

 

Cause:

Test is failing in Ubuntu OS as intermittently due to frame is visible but ideally all windows should be closed, introduced delay to solve the issue.

 

Fix:

Beside reported issue in the bug, When I tested on Mac OS, Test never passed due to ALT + H + 4 TABs still keep the focus in the slider and not on spinner but the actual test is all about ensuring JColorChooser disappears when pressing esc, keeping the focus on the spinner.

 

Test verified in Mac OS, Windows, OEL and Ubuntu.

 

Thanks & Regards

Shaik Ahmad

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160321/f49837ff/attachment.html>


More information about the swing-dev mailing list