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

JFXPanel should use the new FocusEvent.getCause() API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 10
    • 9
    • javafx
    • None

      The fix for JDK-8080395 introduced new public API for getting the cause of a FocusEvent. It also removed (by making package-private) sun.awt.CausedFocusEvent, which caused exceptions in JFXPanel (see JDK-8156591).

      The fix for JDK-8156591 commented out the calls to sun.awt.CausedFocusEvent. Once we upgrade to a newer boot JDK that includes the new FocusEvent.getCause() API we can use the new API and uncomment the code that determines the focus cause. This is a low-priority bug, since the focus cause is currently unused, so there are currently no functional problems in leaving the code commented out.

            psadhukhan Prasanta Sadhukhan
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: