RFR: JDK-8320056 : [macos14] Add missing null checks to GetMousePositionWithPopup.java test

Harshitha Onkar honkar at openjdk.org
Thu Jan 11 20:30:20 UTC 2024


On Thu, 11 Jan 2024 20:04:56 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> This test  passes on the latest version of macOS (14.2). The reason as to why this passes on the latest version of macOS is the order in which native Mouse Moved event is received. Details and native event logs added to the JBS issue.
> 
> While looking into it noticed missing null checks in test hence adding them as part of this PR.

The missing null check will cause an NPE in finally block when frame2 is not created in case mouse move event is not received.

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

PR Comment: https://git.openjdk.org/jdk/pull/17380#issuecomment-1887891690


More information about the client-libs-dev mailing list