hotspot/src/share/vm/runtime/thread.cpp
changeset 14844 c92bd8f2109d
parent 14835 70896cb93c35
parent 14839 cda9ce5806b7
child 15214 1795c6aeb583
child 15191 d5f9601f72af
--- a/hotspot/src/share/vm/runtime/thread.cpp	Fri Dec 21 01:39:34 2012 -0800
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Fri Dec 21 16:33:22 2012 +0100
@@ -3527,11 +3527,12 @@
       java_lang_Thread::set_thread_status(thread_object,
                                           java_lang_Thread::RUNNABLE);
 
-      // The VM preresolve methods to these classes. Make sure that get initialized
+      // The VM creates & returns objects of this class. Make sure it's initialized.
+      initialize_class(vmSymbols::java_lang_Class(), CHECK_0);
+
+      // The VM preresolves methods to these classes. Make sure that they get initialized
       initialize_class(vmSymbols::java_lang_reflect_Method(), CHECK_0);
       initialize_class(vmSymbols::java_lang_ref_Finalizer(),  CHECK_0);
-      // The VM creates & returns objects of this class. Make sure it's initialized.
-      initialize_class(vmSymbols::java_lang_Class(), CHECK_0);
       call_initializeSystemClass(CHECK_0);
 
       // get the Java runtime name after java.lang.System is initialized