RFR: 8305915: java/awt/Frame/FrameLocation/FrameLocation.java fails with "The frame location is wrong!" [v2]

Alexey Ivanov aivanov at openjdk.org
Tue Sep 30 14:04:36 UTC 2025


On Tue, 30 Sep 2025 04:36:42 GMT, Tejesh R <tr at openjdk.org> wrote:

> As I mentioned earlier, I have added it to make the test more stable.

I think you should revert it: `Frame` is supposed to work correctly even when used from the main thread (or another thread). If the test failed only because the frame object was accessed on the main thread, it could be a product bug.

I ran the test in its unmodified form yesterday, and it passed for me. I see no reason to enforce EDT where it's not the root cause and where AWT components are tested.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27366#discussion_r2391631260


More information about the client-libs-dev mailing list