Skip to content

Commit 93a4a74

Browse files
committed
fix tracing for arrayType() calls
1 parent d710660 commit 93a4a74

File tree

1 file changed

+2
-0
lines changed
  • substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/hub

1 file changed

+2
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/hub/DynamicHub.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,6 +1877,8 @@ public DynamicHub arrayType() {
18771877
}
18781878
if (companion.arrayHub == null) {
18791879
MissingReflectionRegistrationUtils.forClass(getTypeName() + "[]");
1880+
} else if (MetadataTracer.Options.MetadataTracingSupport.getValue() && MetadataTracer.singleton().enabled() && !isPrimitive()) {
1881+
MetadataTracer.singleton().traceReflectionType(companion.arrayHub.getTypeName());
18801882
}
18811883
return companion.arrayHub;
18821884
}

0 commit comments

Comments
 (0)