--- a/src/hotspot/share/prims/jvmtiTagMap.cpp Tue Aug 07 16:07:47 2018 -0700
+++ b/src/hotspot/share/prims/jvmtiTagMap.cpp Tue Aug 07 15:45:07 2018 -0700
@@ -2838,7 +2838,7 @@
oop mirror = klass->java_mirror();
// super (only if something more interesting than java.lang.Object)
- Klass* java_super = ik->java_super();
+ InstanceKlass* java_super = ik->java_super();
if (java_super != NULL && java_super != SystemDictionary::Object_klass()) {
oop super = java_super->java_mirror();
if (!CallbackInvoker::report_superclass_reference(mirror, super)) {
@@ -2894,9 +2894,9 @@
// interfaces
// (These will already have been reported as references from the constant pool
// but are specified by IterateOverReachableObjects and must be reported).
- Array<Klass*>* interfaces = ik->local_interfaces();
+ Array<InstanceKlass*>* interfaces = ik->local_interfaces();
for (i = 0; i < interfaces->length(); i++) {
- oop interf = ((Klass*)interfaces->at(i))->java_mirror();
+ oop interf = interfaces->at(i)->java_mirror();
if (interf == NULL) {
continue;
}