mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8263430: Uninitialized Method* variables after JDK-8233913
Reviewed-by: coleenp, hseigel
This commit is contained in:
parent
9f6b1d7fa4
commit
e25ad7309a
3 changed files with 3 additions and 3 deletions
|
@ -370,7 +370,7 @@ C2V_VMENTRY_NULL(jobject, asResolvedJavaMethod, (JNIEnv* env, jobject, jobject e
|
|||
}
|
||||
|
||||
C2V_VMENTRY_NULL(jobject, getResolvedJavaMethod, (JNIEnv* env, jobject, jobject base, jlong offset))
|
||||
Method* method;
|
||||
Method* method = NULL;
|
||||
JVMCIObject base_object = JVMCIENV->wrap(base);
|
||||
if (base_object.is_null()) {
|
||||
method = *((Method**)(offset));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue