<AWT Dev> RFR: 8238436: java/awt/Frame/FrameLocationTest/FrameLocationTest.java fails
Sergey Bylokhov
serb at openjdk.java.net
Tue Oct 6 18:16:11 UTC 2020
On Tue, 6 Oct 2020 15:28:45 GMT, Pankaj Bansal <pbansal at openjdk.org> wrote:
>The test is setting the frame location and then verifying the location in a loop, but there is no wait/delay added to
>let the >frame.setLocation complete.
It is intentionally was implemented that way, the setLocation sets the property "location" for the frame, it is stored
in the frame itself, the getLocation() method if called immediately after setLocation() should return that property.
-------------
PR: https://git.openjdk.java.net/jdk/pull/527
More information about the awt-dev
mailing list