Skip to content
Permalink
Browse files
8263846: Bad JNI lookup getFocusOwner in accessibility code on Mac OS X
Reviewed-by: azvegint, prr
  • Loading branch information
Alexander Zuev committed Mar 20, 2021
1 parent cb742f9 commit 118a49fc9699590fb5c935729da64dac5e61f26d
Showing 1 changed file with 1 addition and 0 deletions.
@@ -1456,6 +1456,7 @@ - (id)accessibilityHitTest:(NSPoint)point withEnv:(JNIEnv *)env
- (id)accessibilityFocusedUIElement
{
JNIEnv *env = [ThreadUtilities getJNIEnv];
GET_CACCESSIBILITY_CLASS_RETURN(nil);
DECLARE_STATIC_METHOD_RETURN(jm_getFocusOwner, sjc_CAccessibility, "getFocusOwner",
"(Ljava/awt/Component;)Ljavax/accessibility/Accessible;", nil);
id value = nil;

0 comments on commit 118a49f

Please sign in to comment.