Skip to content

Commit c91e452

Browse files
[GR-63550] Fix bug in JFR type repository.
PullRequest: graal/20405
2 parents 2f063f3 + 2a8e70d commit c91e452

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jfr/JfrTypeRepository.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ private TypeInfo collectTypeInfo(boolean flushpoint) {
104104

105105
private void visitClass(TypeInfo typeInfo, Class<?> clazz) {
106106
if (clazz != null && addClass(typeInfo, clazz)) {
107+
visitClassLoader(typeInfo, clazz.getClassLoader());
107108
visitPackage(typeInfo, clazz.getPackage(), clazz.getModule());
108109
visitClass(typeInfo, clazz.getSuperclass());
109110
}

0 commit comments

Comments
 (0)