8230104: JNU_IsInstanceOfByName needs const parameter

Reviewed-by: alanb, rriggs
This commit is contained in:
Andrew Luo 2019-08-23 15:24:26 -04:00 committed by Roger Riggs
parent ce3face998
commit 4ab1119494
2 changed files with 2 additions and 2 deletions

View file

@ -1096,7 +1096,7 @@ JNU_GetEnv(JavaVM *vm, jint version)
}
JNIEXPORT jint JNICALL
JNU_IsInstanceOfByName(JNIEnv *env, jobject object, char* classname)
JNU_IsInstanceOfByName(JNIEnv *env, jobject object, const char* classname)
{
jclass cls;
if ((*env)->EnsureLocalCapacity(env, 1) < 0)