<AWT Dev> <AWT dev> Review request for JDK-7119774: [macosx] test ComponentMousePositionTest sometimes fail on Mac
manajit.halder at oracle.com
Mon Feb 13 14:21:33 UTC 2017
Thank you for the review comment. Please review the modified code.
> On 13-Feb-2017, at 7:20 pm, Sergey Bylokhov <sergey.bylokhov at oracle.com> wrote:
> Hi, Manajit.
> Just one comment, the frame should be disposed if the test fails.
>> Hi All,
>> Kindly review the fix for JDK9.
>> https://bugs.openjdk.java.net/browse/JDK-7119774 <https://bugs.openjdk.java.net/browse/JDK-7119774>
>> http://cr.openjdk.java.net/~mhalder/7119774/webrev.00/ <http://cr.openjdk.java.net/~mhalder/7119774/webrev.00/>
>> Test fails sometimes on the last stage because getMousePosition() was getting called before the mouseMove completes.
>> Fixed the issue by adding a waitForIdle() call after the mouseMove.
>> Along with the fix the following changes were done:
>> The test was cleaned up and moved from closed to open
>> Removed applet code
>> Manual test to automatic test
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev