8263430: Uninitialized Method* variables after JDK-8233913

Reviewed-by: coleenp, hseigel
This commit is contained in:
Aleksey Shipilev 2021-03-12 07:40:52 +00:00
parent 9f6b1d7fa4
commit e25ad7309a
3 changed files with 3 additions and 3 deletions

View file

@ -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));