8263846: Bad JNI lookup getFocusOwner in accessibility code on Mac OS X
Reviewed-by: azvegint, prr
This commit is contained in:
parent
cb742f9560
commit
118a49fc96
@ -1456,6 +1456,7 @@ static NSNumber* JavaNumberToNSNumber(JNIEnv *env, jobject jnumber) {
|
||||
- (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;
|
||||
|
Loading…
Reference in New Issue
Block a user