On Tue, 8 Sep 2026 12:55:46 GMT, Jayathirth D V <[email protected]> wrote:
> GetScreenLocTest is mainly checking whether getLocationOnScreen() picks > proper information. > > With latest JDK code this test fails locally on macOS and windows, mostly > because mouse event is not getting recognised because of decorated window. On > local Oracle Linux VM, i can see that sometimes the smaller frame is not even > shown and test fails. We need to make the windows undecorated and make sure > things are rendered before we start selecting things on the frame. > > After making test more robust, it runs fine on all platforms. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). test/jdk/java/awt/Component/GetScreenLocTest/GetScreenLocTest.java line 69: > 67: bigPause(); > 68: > 69: Point p = canvas.getLocationOnScreen(); Can we invoke this statement within EDT ? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32764#discussion_r3958990312
