<AWT Dev> [11] Review Request JDK-8196360 java/awt/Dialog/SiblingChildOrder/SiblingChildOrderTest.java fails

Prem Balakrishnan prem.balakrishnan at oracle.com
Mon May 7 09:33:57 UTC 2018


Hi All,

 

Please review fix for JDK 11:

 

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

 

Webrev: http://cr.openjdk.java.net/~pkbalakr/8196360/webrev00/ 

 

On Mac , slight variation in the RGB value caused the test to fail  only on OS X 10.12.6 ( On OS X 10.13.1 test passes always).

Fixed this issue by comparing two colors with a minimum tolerance value. 

 

On Windows 10, test was fetching pixel color even before the UI is rendered completely causing the test to fail.

Adding a delay solved this issue.

 

Tested on Windows 7 & 10, Ubuntu 17.10, Mac OS X 10.12.6 and 10.13.1.

 

Regards,

Prem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20180507/5d1f4e3b/attachment.html>


More information about the awt-dev mailing list