+1

--Semyon


On 09/06/2017 03:39 AM, Pankaj Bansal wrote:

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/ <http://cr.openjdk.java.net/%7Eaghaisas/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


Reply via email to