src/hotspot/share/classfile/systemDictionary.cpp
changeset 58775 ba524a5f7cc2
parent 58760 1f7f707c1aa9
child 58783 d55b62dbe688
--- a/src/hotspot/share/classfile/systemDictionary.cpp	Wed Oct 23 18:43:18 2019 -0700
+++ b/src/hotspot/share/classfile/systemDictionary.cpp	Thu Oct 24 09:57:29 2019 +0200
@@ -1972,6 +1972,10 @@
     resolve_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
   }
 
+  assert(WK_KLASS(Object_klass) != NULL, "well-known classes should now be initialized");
+
+  java_lang_Object::register_natives(CHECK);
+
   // Calculate offsets for String and Class classes since they are loaded and
   // can be used after this point.
   java_lang_String::compute_offsets();