<Swing Dev> RFR: 8238085 PIT: javax/swing/JSpinner/8223788/JSpinnerButtonFocusTest.java fails on mac

Tejpal Rebari tejpal.rebari at oracle.com
Wed May 6 18:38:19 UTC 2020


Hi All,
Please review the following test only fix for jdk15.

Bug : https://bugs.openjdk.java.net/browse/JDK-8238085 <https://bugs.openjdk.java.net/browse/JDK-8238085>
Fix : http://cr.openjdk.java.net/~trebari/swing/8238085/webrev00/ <http://cr.openjdk.java.net/~trebari/swing/8238085/webrev00/>

Issue : The test JSpinnerButtonFocusTest fails in nightly testing
on Mac OS  platform.

Fix : Reduced the number of keyPress and keyRelease events by 
calling requestFocusInWindow on spinner1 editor.
Added a Focus Listener on editor1.

Test : Tested on all three platform and test is passing.
Also tested in internal test and build system, 
Link is in JBS.

Thanks and regards
Tejpal




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200507/0eeeb2a0/attachment.htm>


More information about the swing-dev mailing list