diff -r 49fac4acd688 -r 136b78722a08 src/share/vm/oops/cpCacheOop.hpp --- a/src/share/vm/oops/cpCacheOop.hpp Mon Jun 07 14:17:01 2010 -0700 +++ b/src/share/vm/oops/cpCacheOop.hpp Wed Jun 09 18:50:45 2010 -0700 @@ -110,6 +110,7 @@ class ConstantPoolCacheEntry VALUE_OBJ_CLASS_SPEC { friend class VMStructs; friend class constantPoolCacheKlass; + friend class constantPoolOopDesc; //resolve_constant_at_impl => set_f1 private: volatile intx _indices; // constant pool index & rewrite bytecodes