--- old/src/hotspot/share/prims/jvmtiTagMap.cpp 2018-08-06 13:59:06.011578702 -0700 +++ new/src/hotspot/share/prims/jvmtiTagMap.cpp 2018-08-06 13:59:05.695566790 -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* interfaces = ik->local_interfaces(); + Array* 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; }