RFR: 8305915: java/awt/Frame/FrameLocation/FrameLocation.java fails with "The frame location is wrong!" [v2]
Alexey Ivanov
aivanov at openjdk.org
Mon Sep 29 16:07:07 UTC 2025
On Tue, 23 Sep 2025 07:46:23 GMT, Tejesh R <tr at openjdk.org> wrote:
>> The test passed on CI machines with multiple test runs. Few stabilization fix has been made to make the test more robust.
>
> Tejesh R has updated the pull request incrementally with two additional commits since the last revision:
>
> - Add image capture on failure
> - Review fix
test/jdk/java/awt/Frame/FrameLocation/FrameLocation.java line 71:
> 69: Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
> 70: ImageIO.write(robot.createScreenCapture(
> 71: new Rectangle(0, 0, screenSize.width, screenSize.height)),
Suggestion:
ImageIO.write(robot.createScreenCapture(
new Rectangle(new Point(), screenSize)),
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27366#discussion_r2388499401
More information about the client-libs-dev
mailing list