<AWT Dev>  Review Request: 8144125 [macOS] java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically
Sergey.Bylokhov at oracle.com
Mon Apr 29 10:27:09 UTC 2019
Please review the fix for JDK 13.
One of the tests fails on macOS because we send two events for the component is resized/moved.
When the LWComponentPeer was implemented I was not aware that the Component class can send such events:
Currently, LWComponentPeer sends these events even if the target Component should not be updated. As a fix I suggest to post these events by the peer only if the target should be updated as well, which will mean that we got this change from some other code, not the component(and the component will not fire these events).
Best regards, Sergey.
More information about the awt-dev