RFR: JDK-8323617 : Add missing null checks to GetMousePositionWithPopup.java test
Alexey Ivanov
aivanov at openjdk.org
Fri Jan 12 18:38:17 UTC 2024
On Thu, 11 Jan 2024 20:04:56 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
> While investigating a macOS 14 issue noticed missing null checks in java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java
>
> The missing null check will cause an NPE in finally block when frame2 is not created in the event that mouse move is not received.
>
> PS: This test passes on the latest version of macOS (14.2)
Marked as reviewed by aivanov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17380#pullrequestreview-1818828684
More information about the client-libs-dev
mailing list