Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8323617

Add missing null checks to GetMousePositionWithPopup.java test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • client-libs
    • b06
    • generic

      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.

            honkar Harshitha Onkar
            honkar Harshitha Onkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: