<AWT Dev> [10] Review Request: JDK-8154468 : [TEST_BUG] java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java

Pankaj Bansal pankaj.b.bansal at oracle.com
Wed Sep 6 10:39:27 UTC 2017


Hi All,

 

Please review the fix for test program java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java for JDK 10.

 

Bug:

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

 

Webrev:

http://cr.openjdk.java.net/~aghaisas/pankaj/8154468/webrev.0/

 

Issue:

java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java test fails due to insufficient robot delay.

 

Fix:

Increased the delay for robot before calling robot.getPixelColor to account for rendering delay.

 

Note:

The test passes on Windows and Linux with the given fix. However, it fails on MacOS due to some other bug in the Robot.getPixelColor functionality. It returns wrong color value for any pixel. The bug ID for the issue is https://bugs.openjdk.java.net/browse/JDK-8181305

 

Regards,

Pankaj Bansal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20170906/be153543/attachment.html>


More information about the awt-dev mailing list