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

Reviewed-by: serb, pbansal, aivanov
This commit is contained in:
Phil Race 2021-09-27 16:41:00 +00:00
parent 172900dab1
commit 2cffe4c8e0

View File

@ -1380,6 +1380,7 @@ static NSObject *sAttributeNamesLOCK = nil;
- (id)accessibilityHitTest:(NSPoint)point withEnv:(JNIEnv *)env
{
GET_CACCESSIBILITY_CLASS_RETURN(nil);
DECLARE_CLASS_RETURN(jc_Container, "java/awt/Container", nil);
DECLARE_STATIC_METHOD_RETURN(jm_accessibilityHitTest, sjc_CAccessibility, "accessibilityHitTest",
"(Ljava/awt/Container;FF)Ljavax/accessibility/Accessible;", nil);