Hi, Krishna. Can you please confirm that the initial bug JDK-8012026 can be reproduced by the updated test? The updated test should fail before JDK-8012026 was fixed, and works after.
----- krishna.addepa...@oracle.com wrote: > Hi All, Please review the fix for test bug: Bug : JDK-8027154 <https://bugs.openjdk.java.net/browse/JDK-8027154> JDK 10 Webrev: http://cr.openjdk.java.net/~pkbalakr/Krishna/8027154/webrev00/ Summary: The test intends to check the mouse move on Frame2, which is drawn in the MouseMove callback for Frame1. > However, the code wrongly asserts for the expected mouse position on Frame2, which was just created. > Also, Frame2 has no callback registered for MouseMove, which is leading to different behaviors on different platforms. On Windows and Linux, the assertion is thrown for Mouse Position whereas on Mac, a NullPointerException is thrown. > After moving the code into the callback for Frame2, the test passes on all the platforms. > Thanks, Krishna > >