src/hotspot/share/oops/klass.cpp
changeset 50056 ca1f2d4d4ec8
parent 49969 8624981f1ffa
child 50113 caf115bb98ad
--- a/src/hotspot/share/oops/klass.cpp	Tue May 08 12:16:52 2018 -0700
+++ b/src/hotspot/share/oops/klass.cpp	Mon May 07 14:57:23 2018 +0200
@@ -536,7 +536,7 @@
       log_debug(cds, mirror)("Archived mirror is: " PTR_FORMAT, p2i(m));
       if (m != NULL) {
         // mirror is archived, restore
-        assert(oopDesc::is_archive_object(m), "must be archived mirror object");
+        assert(MetaspaceShared::is_archive_object(m), "must be archived mirror object");
         Handle m_h(THREAD, m);
         java_lang_Class::restore_archived_mirror(this, m_h, loader, module_handle, protection_domain, CHECK);
         return;