--- 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;