Looks good to me. A minor suggestion: please declare the mouseEnterCount
in the test as volatile to ensure both threads operate on the same
value. No need for a new webrev with this change.
--
best regards,
Anthony
On 06/10/13 15:24, Petr Pchelko wrote:
Hello, AWT Team.
Please review the fix for the issue:
http://bugs.sun.com/view_bug.do?bug_id=8013468
The webrev is available at:
http://cr.openjdk.java.net/~pchelko/8013468/webrev.01/
The reason of this issue is in the fact that MOUSE_ENTERED events do not come
when the window goes fullscreen. I have updated the logic for synthesizing
these events.
I have added a regression test for this problem. This change also fixes another
regression test: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java
With best regards. Petr.