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

AccessBridge crashes if running Ferret and hover off a menu item

    XMLWordPrintable

    Details

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: