diff src/share/vm/runtime/thread.cpp @ 3938:e6b1331a51d2

7086585: make Java field injection more flexible Reviewed-by: jrose, twisti, kvn, coleenp
author never
date Sat, 10 Sep 2011 17:29:02 -0700
parents 7588156f5cf9
children f08d439fab8c 4dfb2df418f2
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Sat Sep 10 00:11:04 2011 -0700
+++ b/src/share/vm/runtime/thread.cpp	Sat Sep 10 17:29:02 2011 -0700
@@ -966,7 +966,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) {
-  klassOop k = SystemDictionary::sun_misc_PostVMInitHook_klass();
+  klassOop k = SystemDictionary::PostVMInitHook_klass();
   instanceKlassHandle klass (THREAD, k);
   if (klass.not_null()) {
     JavaValue result(T_VOID);