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

[macos] Ensure initialisation of sun/lwawt/macosx/CAccessibility in CommonComponentAccessibility.m

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 18
    • 18
    • client-libs

      n src/java.desktop/macosx/native/libawt_lwawt/awt/CommonComponentAccessibility.m
      accessibilityHitTest()
      uses a reference to the class sun/lwawt/macosx/CAccessibility
      Usually this will be initialised before this code is invoked on the custom control by the macOS accessibility APIs but it is possible that it is not.
      So we should ensure it is initialised.
      This hasn't yet been seen in an app but was noticed by observation since
      this is very similar to https://bugs.openjdk.java.net/browse/JDK-8274326 but was introduced separately and is currently only an issue in JDK 18

            kizune Alexander Zuev
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: