<Swing Dev> [13] RFR 8042383:javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails with shortcuts on menus do not work

Tejpal Rebari tejpal.rebari at oracle.com
Wed Jun 26 10:17:27 UTC 2019


Hi All,

Please review a test fix for the issue where the test fails while selecting menu by shortcut keys in Mac OS.

The test contains some KeyPress and KeyRelease events in the hitMnemonics method of Util.And there is no delay added after these events.
Adding some delay after robot events solves the issue.
Before the check for menu selected reduced the delay from 1000 to 200 as auto delay is already set and reducing it could save some time.

Tested in our internal build and test system and test passes on all the three Platforms.

Bug 		: 	https://bugs.openjdk.java.net/browse/JDK-8042383 <https://bugs.openjdk.java.net/browse/JDK-8042383>
webrev 	:	http://cr.openjdk.java.net/~pkbalakr/Tejpal/8042383/webrev0/ <http://cr.openjdk.java.net/~pkbalakr/Tejpal/8042383/webrev0/>

Thanks and Regards
Tejpal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20190626/3d85b2aa/attachment.html>


More information about the swing-dev mailing list