RFR: JDK-8323617 : Add missing null checks to GetMousePositionWithPopup.java test
Damon Nguyen
dnguyen at openjdk.org
Fri Jan 12 19:15:21 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)
Logical addition. Tested and still works as expected
-------------
Marked as reviewed by dnguyen (Committer).
PR Review: https://git.openjdk.org/jdk/pull/17380#pullrequestreview-1818879022
More information about the client-libs-dev
mailing list