Fix small bug in getStaticField
parent
00eb2e401a
commit
33a54f021e
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue