RFR: JDK-8323617 : Add missing null checks to GetMousePositionWithPopup.java test
Sergey Bylokhov
serb at openjdk.org
Thu Jan 11 21:32:18 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 serb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17380#pullrequestreview-1816753248
More information about the client-libs-dev
mailing list