-
Bug
-
Resolution: Duplicate
-
P3
-
18
-
os_x
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
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
- duplicates
-
JDK-8274381 missing CAccessibility definitions in JNI code
-
- Closed
-