<Swing Dev> [12] JDK-6849922: java/awt/Choice/ChoiceKeyEventReaction/ChoiceKeyEventReaction.html fails

shashidhara.veerabhadraiah at oracle.com shashidhara.veerabhadraiah at oracle.com
Wed Oct 31 10:04:20 UTC 2018


Hi All, Please review test fix for the below bug.

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

Webrev: http://cr.openjdk.java.net/~sveerabhadra/6849922/webrev.02/

Fix: As the initial bug analysis said in the bug comments, it is a 
timing issue where in the choice menu remains opened even though the 
escape key is pressed. After removing the applet dependency and using 
the swing utilities to order the GUI creation and sending the key events 
with a delay is fixing the problem.

This test was successfully run on Windows 10, Mac 10.13 and Ubuntu 16.04.

Thanks and regards,

Shashi



More information about the swing-dev mailing list