<AWT Dev> <AWT dev> Review request for JDK-8177326: [macosx] mouse event goes to button in java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java
manajit.halder at oracle.com
Thu Aug 24 10:01:27 UTC 2017
Kindly review the fix for JDK10.
[macosx] mouse event goes to button in java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java.
Problem in the test case. Initial observation was that the test case used to pass for the first time and fail second time onwards. On further debugging it was observed that the test case used to pass every time if the initial mouse move in the test actually happened. The test used to fail every second or further times because after the first execution using jtreg the mouse used to remain at the same location.
The mouse is moved at the beginning of the test to make sure the initial mouse move on the label always happens.
BUTTON1_MASK is deprecated and hence is replaced with BUTTON1_DOWN_MASK.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev