mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8230104: JNU_IsInstanceOfByName needs const parameter
Reviewed-by: alanb, rriggs
This commit is contained in:
parent
ce3face998
commit
4ab1119494
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue