mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8204561: JVM_GetClassSigners: wrap signers oop in an objArrayHandle for subsequent safepoint
Reviewed-by: coleenp, stuefe
This commit is contained in:
parent
12815851ce
commit
af75effcd2
1 changed files with 1 additions and 1 deletions
|
@ -1115,7 +1115,7 @@ JVM_ENTRY(jobjectArray, JVM_GetClassSigners(JNIEnv *env, jclass cls))
|
|||
return NULL;
|
||||
}
|
||||
|
||||
objArrayOop signers = java_lang_Class::signers(JNIHandles::resolve_non_null(cls));
|
||||
objArrayHandle signers(THREAD, java_lang_Class::signers(JNIHandles::resolve_non_null(cls)));
|
||||
|
||||
// If there are no signers set in the class, or if the class
|
||||
// is an array, return NULL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue