Skip to content
Permalink
Browse files
7246: ClassCastException when opening heap dump
Reviewed-by: hirt
  • Loading branch information
tobiasstadler authored and thegreystone committed Apr 25, 2021
1 parent 7732a7c commit 917a95c44e54179a95740f4a512a5d6ce34fae2f
Showing with 1 addition and 1 deletion.
  1. +1 −1 ...cation/org.openjdk.jmc.joverflow/src/main/java/org/openjdk/jmc/joverflow/heap/model/Snapshot.java
@@ -771,7 +771,7 @@ private JavaClass createFakeClass(long classID, int instSize) {
}

// Create fake instance class
return new JavaClass(name, 0, 0, 0, 0, fields, JavaClass.NO_FIELDS, JavaClass.NO_VALUES, instSize,
return new JavaClass(classID, name, 0, 0, 0, 0, fields, JavaClass.NO_FIELDS, JavaClass.NO_VALUES, instSize,
getInMemoryInstanceSize(instSize));
}

0 comments on commit 917a95c

Please sign in to comment.