1.1 --- a/src/share/vm/oops/cpCacheOop.hpp Sat Oct 30 12:19:07 2010 -0700 1.2 +++ b/src/share/vm/oops/cpCacheOop.hpp Sat Oct 30 13:08:23 2010 -0700 1.3 @@ -319,7 +319,9 @@ 1.4 1.5 // Sizing 1.6 debug_only(friend class ClassVerifier;) 1.7 + public: 1.8 int length() const { return _length; } 1.9 + private: 1.10 void set_length(int length) { _length = length; } 1.11 1.12 static int header_size() { return sizeof(constantPoolCacheOopDesc) / HeapWordSize; }