--- old/src/hotspot/share/prims/jvmtiImpl.cpp 2018-08-06 13:59:03.899499093 -0700 +++ new/src/hotspot/share/prims/jvmtiImpl.cpp 2018-08-06 13:59:03.547485825 -0700 @@ -621,7 +621,7 @@ } } // Compare secondary supers - Array* sec_supers = klass->secondary_supers(); + const Array* sec_supers = klass->secondary_supers(); for (idx = 0; idx < sec_supers->length(); idx++) { if (((Klass*) sec_supers->at(idx))->name() == ty_sym) { return true;