Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8263846: Bad JNI lookup getFocusOwner in accessibility code on Mac OS X #28

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
@@ -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;