--- a/src/hotspot/share/services/heapDumper.cpp Tue Aug 07 16:07:47 2018 -0700
+++ b/src/hotspot/share/services/heapDumper.cpp Tue Aug 07 15:45:07 2018 -0700
@@ -989,7 +989,7 @@
writer->write_u4(STACK_TRACE_ID);
// super class ID
- Klass* java_super = ik->java_super();
+ InstanceKlass* java_super = ik->java_super();
if (java_super == NULL) {
writer->write_objectID(oop(NULL));
} else {
@@ -1059,7 +1059,7 @@
writer->write_u4(STACK_TRACE_ID);
// super class of array classes is java.lang.Object
- Klass* java_super = klass->java_super();
+ InstanceKlass* java_super = klass->java_super();
assert(java_super != NULL, "checking");
writer->write_classID(java_super);