Fix small bug in getStaticField

pull/1499/head
Doug Stephen 2017-10-11 11:03:29 -05:00
parent 00eb2e401a
commit 33a54f021e
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ static bool getStaticField(JNIEnv *env, const char* className, const char* field
return false; return false;
} }
jfieldID fieldId = env->GetFieldID(clazz, fieldName, signature); jfieldID fieldId = env->GetStaticFieldID(clazz, fieldName, signature);
if (NULL == fieldId) if (NULL == fieldId)
{ {