<Swing Dev> [9][TESTBUG]: Review Request for JDK-8169958 : javax/swing/JSpinner/5012888: Spinner value should be more than 1

Srinivas Mandalika srinivas.mandalika at oracle.com
Mon Jun 12 08:20:33 UTC 2017


Hi All,

 

Please review the test bug fix for JDK-8169958 : javax/swing/JSpinner/5012888: Spinner value should be more than 1.

 

Issue: 

In this bug, click & hold on arrow of JSpinner only transfers focus and does not change spinner value. This behavior is intermittently seen in the automated test but is working as expected when checked for manualy. The test was failing robot clicks out of sync with the yet to be maximized frame.

 

Fix: 

Ensure the robot waits for the frame to be maximized before the clicks on the Spinner. Also ensure the main application frame is maximized explicitly.

 

Testing: 

Tested the potential fix on winx64, linux  with JDK8, 9 several times with running tests individually clubbed with the previous test and the entire suite (i.e javax/swing) put to ensure that the issue is not repeated.

 

Bug Id:

https://bugs.openjdk.java.net/browse/JDK-8169958

 

 

WebRev Request:

http://cr.openjdk.java.net/~akolarkunnu/8169958/webrev.00/

 

 

Regards,

Srinivas M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170612/043ae27b/attachment.html>


More information about the swing-dev mailing list