mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8023004: JSR 292: java.lang.RuntimeException: Original target method was called
Reviewed-by: jrose
This commit is contained in:
parent
7d4a3ec94e
commit
3375e14588
1 changed files with 1 additions and 3 deletions
|
@ -1194,9 +1194,7 @@ JVM_ENTRY(jobject, MHN_getMemberVMInfo(JNIEnv *env, jobject igcls, jobject mname
|
||||||
} else if (vmtarget->is_klass()) {
|
} else if (vmtarget->is_klass()) {
|
||||||
x = ((Klass*) vmtarget)->java_mirror();
|
x = ((Klass*) vmtarget)->java_mirror();
|
||||||
} else if (vmtarget->is_method()) {
|
} else if (vmtarget->is_method()) {
|
||||||
Handle mname2 = MethodHandles::new_MemberName(CHECK_NULL);
|
x = mname();
|
||||||
CallInfo info((Method*)vmtarget);
|
|
||||||
x = MethodHandles::init_method_MemberName(mname2, info);
|
|
||||||
}
|
}
|
||||||
result->obj_at_put(1, x);
|
result->obj_at_put(1, x);
|
||||||
return JNIHandles::make_local(env, result());
|
return JNIHandles::make_local(env, result());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue