mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8139385: [TESTBUG]: JVMCI test crashes in constantPoolHandle::constantPoolHandle
Reviewed-by: kvn, iignatyev
This commit is contained in:
parent
b03077878d
commit
a4e16dd190
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue