mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-26 10:10:19 +00:00
8139385: [TESTBUG]: JVMCI test crashes in constantPoolHandle::constantPoolHandle
Reviewed-by: kvn, iignatyev
This commit is contained in:
parent
b03077878d
commit
a4e16dd190
@ -1275,9 +1275,9 @@ WB_ENTRY(void, WB_ForceSafepoint(JNIEnv* env, jobject wb))
|
||||
VMThread::execute(&force_safepoint_op);
|
||||
WB_END
|
||||
|
||||
WB_ENTRY(long, WB_GetConstantPool(JNIEnv* env, jobject wb, jclass klass))
|
||||
WB_ENTRY(jlong, WB_GetConstantPool(JNIEnv* env, jobject wb, jclass klass))
|
||||
instanceKlassHandle ikh(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
|
||||
return (long) ikh->constants();
|
||||
return (jlong) ikh->constants();
|
||||
WB_END
|
||||
|
||||
template <typename T>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user