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

Bad JNI lookup getFocusOwner in accessibility code on macOS

XMLWordPrintable

    • b15
    • x86
    • os_x

        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.

              kizune Alexander Zuev
              kizune Alexander Zuev
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: