1.1 --- a/src/share/vm/prims/methodHandleWalk.hpp Thu Jun 02 13:36:11 2011 -0700 1.2 +++ b/src/share/vm/prims/methodHandleWalk.hpp Fri Jun 03 22:31:43 2011 -0700 1.3 @@ -110,6 +110,7 @@ 1.4 // slot order to make it easier to understand. 1.5 void print(); 1.6 static void print(Handle mh); 1.7 + static void print(oopDesc* mh); 1.8 #endif 1.9 }; 1.10 1.11 @@ -273,7 +274,7 @@ 1.12 static jvalue one_jvalue; 1.13 1.14 // Fake constant pool entry. 1.15 - class ConstantValue { 1.16 + class ConstantValue : public ResourceObj { 1.17 private: 1.18 int _tag; // Constant pool tag type. 1.19 JavaValue _value;