Skip to content

Commit

Permalink
8259729: Missed JNFInstanceOf -> IsInstanceOf conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
prrace committed Jan 13, 2021
1 parent 5f7ccce commit 6503ecc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1453,7 +1453,7 @@ - (id)accessibilityHitTest:(NSPoint)point withEnv:(JNIEnv *)env
jobject jparent = fComponent;

id value = nil;
if (JNFIsInstanceOf(env, jparent, &jc_Container)) {
if ((*env)->IsInstanceOf(env, jparent, jc_Container)) {
jobject jaccessible = (*env)->CallStaticObjectMethod(env, sjc_CAccessibility, jm_accessibilityHitTest,
jparent, (jfloat)point.x, (jfloat)point.y); // AWT_THREADING Safe (AWTRunLoop)
CHECK_EXCEPTION();
Expand Down

0 comments on commit 6503ecc

Please sign in to comment.