8170493: JNI exception pending in JavaComponentAccessibility.m
Reviewed-by: serb, psadhukhan
This commit is contained in:
parent
e9dd1485e6
commit
6720ad090e
@ -136,7 +136,7 @@ static NSObject *sAttributeNamesLOCK = nil;
|
||||
fJavaRole = [javaRole retain];
|
||||
|
||||
fAccessible = (*env)->NewWeakGlobalRef(env, accessible);
|
||||
|
||||
(*env)->ExceptionClear(env); // in case of OOME
|
||||
jobject jcomponent = [(AWTView *)fView awtComponent:env];
|
||||
fComponent = (*env)->NewWeakGlobalRef(env, jcomponent);
|
||||
(*env)->DeleteLocalRef(env, jcomponent);
|
||||
|
Loading…
Reference in New Issue
Block a user