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).

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

Commit messages:
 - Initial change
 - Remove from PL

Changes: https://git.openjdk.org/jdk/pull/32764/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32764&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-4753654
  Stats: 93 lines in 2 files changed: 44 ins; 24 del; 25 mod
  Patch: https://git.openjdk.org/jdk/pull/32764.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32764/head:pull/32764

PR: https://git.openjdk.org/jdk/pull/32764

Reply via email to