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

Bad JNI lookup getFocusOwner in accessibility code on Mac OS X

    XMLWordPrintable

    Details

    • Resolved In Build:
      b15
    • CPU:
      x86
    • OS:
      os_x

      Backports

        Description

        Sometimes correctly working Swing application gets error Bad JNI lookup getFocusOwner in the output and some a11y functionality does not work. The reason is that in the JavaComponentAccessibility in function accessibilityFocusedUIElement before using sjc_CAccessibility instance we do not ensure that it exists and initialized. Sometimes it is not.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kizune Alexander Zuev
                Reporter:
                kizune Alexander Zuev
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: