mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-31 10:09:59 +00:00
8319559: [JVMCI] ensureLinked must be able to call Java
Reviewed-by: never, thartmann
This commit is contained in:
parent
1c0e7b71b8
commit
9ac6ac86d3
@ -1978,6 +1978,7 @@ C2V_VMENTRY(void, ensureInitialized, (JNIEnv* env, jobject, ARGUMENT_PAIR(klass)
|
||||
C2V_END
|
||||
|
||||
C2V_VMENTRY(void, ensureLinked, (JNIEnv* env, jobject, ARGUMENT_PAIR(klass)))
|
||||
CompilerThreadCanCallJava canCallJava(thread, true); // Linking requires Java calls
|
||||
Klass* klass = UNPACK_PAIR(Klass, klass);
|
||||
if (klass == nullptr) {
|
||||
JVMCI_THROW(NullPointerException);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user