diff -r 2797e487c09f -r f92c9ff3a15f hotspot/src/share/vm/runtime/sharedRuntime.hpp --- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp Sat Sep 03 14:03:54 2011 -0700 +++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp Mon Sep 05 17:09:05 2011 -0700 @@ -45,6 +45,8 @@ // information, etc. class SharedRuntime: AllStatic { + friend class VMStructs; + private: static methodHandle resolve_sub_helper(JavaThread *thread, bool is_virtual,