Skip to content

Commit acac51d

Browse files
committed
Fix signer registration
1 parent 224ae62 commit acac51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/reflect/ReflectionDataBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public void registerAllSignersQuery(AccessCondition condition, Class<?> clazz) {
379379
Object[] signers = clazz.getSigners();
380380
if (signers != null) {
381381
for (Object signer : signers) {
382-
metaAccess.lookupJavaType(signer.getClass()).registerAsInstantiated("signer");
382+
universe.getHeapScanner().rescanObject(signer, new OtherReason("Signer stored in reflection metadata"));
383383
}
384384
}
385385
});

0 commit comments

Comments
 (0)