Hi All,

Kindly review the fix for JDK10.

Bug: 
https://bugs.openjdk.java.net/browse/JDK-8177326/ 
<https://bugs.openjdk.java.net/browse/JDK-8177326/>

Webrev: 
http://cr.openjdk.java.net/~mhalder/8177326/webrev.00/ 
<http://cr.openjdk.java.net/~mhalder/8177326/webrev.00/>

Issue: 
[macosx] mouse event goes to button in 
java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java.

Cause: 
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. 
 
Fix: 
The mouse is moved at the beginning of the test to make sure the initial mouse 
move on the label always happens.

Note:
BUTTON1_MASK is deprecated and hence is replaced with BUTTON1_DOWN_MASK.

Regards,
Manajit

Reply via email to