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

JFXPanel should use the new FocusEvent.getCause() API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: