diff src/share/vm/runtime/thread.cpp @ 13040:f8b56489e455

Merge
author mgronlun
date Fri, 01 Nov 2013 17:10:31 +0000
parents 292050e5d5ea
children 096c224171c4 dbcb1dd0785b 2b8e28fdf503 0e6af9b390af
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Fri Nov 01 10:32:36 2013 -0400
+++ b/src/share/vm/runtime/thread.cpp	Fri Nov 01 17:10:31 2013 +0000
@@ -1097,7 +1097,7 @@
 // General purpose hook into Java code, run once when the VM is initialized.
 // The Java library method itself may be changed independently from the VM.
 static void call_postVMInitHook(TRAPS) {
-  Klass* k = SystemDictionary::PostVMInitHook_klass();
+  Klass* k = SystemDictionary::resolve_or_null(vmSymbols::sun_misc_PostVMInitHook(), THREAD);
   instanceKlassHandle klass (THREAD, k);
   if (klass.not_null()) {
     JavaValue result(T_VOID);