RFR: 8274326: [macos] Ensure initialisation of sun/lwawt/macosx/CAccessibility in JavaComponentAccessibility.m

Phil Race prr at openjdk.java.net
Mon Sep 27 02:08:18 UTC 2021


A user with a very minimal swing test case has observed that it is possible with JDK 17 to get the exception
Exception in thread "AppKit Thread" java.lang.NoSuchMethodError: accessibilityHitTest
They have confirmed the fix here resolves that

-------------

Commit messages:
 - 8274326: [macos] Ensure initialisation of sun/lwawt/macosx/CAccessibility in JavaComponentAccessibility.m

Changes: https://git.openjdk.java.net/jdk/pull/5702/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5702&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274326
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5702.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5702/head:pull/5702

PR: https://git.openjdk.java.net/jdk/pull/5702



More information about the client-libs-dev mailing list