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

Bad JNI lookup getFocusOwner in accessibility code on macOS

    XMLWordPrintable

Details

    • b15
    • x86
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: