8155163: JVMCI: MethodHandleAccessProvider.resolveInvokeBasicTarget implementation doesn't match javadoc
Reviewed-by: twisti
This commit is contained in:
parent
7982dafac2
commit
73db8859bf
@ -130,7 +130,7 @@ public class HotSpotMethodHandleAccessProvider implements MethodHandleAccessProv
|
||||
|
||||
/* Load non-public field: LambdaForm MethodHandle.form */
|
||||
JavaConstant lambdaForm = constantReflection.readFieldValue(LazyInitialization.methodHandleFormField, methodHandle);
|
||||
if (lambdaForm.isNull()) {
|
||||
if (lambdaForm == null || lambdaForm.isNull()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user