[OpenJDK 2D-Dev] Review request for 8144033 : [TEST_BUG] delays needed in RenderingToCachedGraphicsTest.java
Ajit Ghaisas
ajit.ghaisas at oracle.com
Thu Dec 31 10:41:53 UTC 2015
Hi,
Please review the fix for JDK9.
Webrev: http://cr.openjdk.java.net/~arapte/ajit/8144033/webrev.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8144033
Issue :
The test fails intermittently on slower systems. It passes on relatively faster systems.
Fix :
1. Robot object is created earlier
2. Added delay after fillRect() calls - the method runTest() is executed in AWT-EventQueue processing thread hence, we cannot invoke robot.waitForIdle(). Therefore, delay() method is used.
Regards,
Ajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20151231/5c18795d/attachment.html>
More information about the 2d-dev
mailing list