On Fri, 20 Dec 2024 00:47:18 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:

> For this test you can add a null check before calling .getLocation() for 
> sanity (although multimonitor setup is not the case for CI runs)

If `Robot.mouseMove` is expected to limit mouse to the valid (virtual screen) 
coordinates, `MouseInfo.getPointerInfo()` should never throw 
`NullPointerException` if mouse is available.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22781#discussion_r1893973923

Reply via email to