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

AccessBridge crashes if running Ferret and hover off a menu item

XMLWordPrintable

        There is an NPE in com.sun.java.accessibility.AccessBridge.getAccessibleSelectionFromContext when a selected menu item in an open menu becomes deselected due to a hover over/off of the selected menu item. This is only when Ferret is running. Apparently JAWS and NVDA don't make the same call. The problem is that it is valid for JMenu.AccessibleJMenu.getAccessibleSelection(i) to return null. The code in getAccessibleSelectionFromContext needs to sense for null and return null in this case.

              ptbrunet Pete Brunet (Inactive)
              ptbrunet Pete Brunet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: