Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
/ jdk15u-dev Public archive

Commit

Permalink
8263846: Bad JNI lookup getFocusOwner in accessibility code on Mac OS X
Browse files Browse the repository at this point in the history
Backport-of: 118a49fc9699590fb5c935729da64dac5e61f26d
  • Loading branch information
Olga Mikhaltsova authored and Yuri Nesterenko committed Apr 21, 2021
1 parent a44e891 commit dc56503
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,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;
Expand Down

1 comment on commit dc56503

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.