1.1 --- a/src/share/vm/oops/constantPoolKlass.cpp Mon Jun 07 14:17:01 2010 -0700 1.2 +++ b/src/share/vm/oops/constantPoolKlass.cpp Wed Jun 09 18:50:45 2010 -0700 1.3 @@ -372,6 +372,13 @@ 1.4 entry->print_value_on(st); 1.5 } 1.6 break; 1.7 + case JVM_CONSTANT_MethodHandle : 1.8 + st->print("ref_kind=%d", cp->method_handle_ref_kind_at(index)); 1.9 + st->print(" ref_index=%d", cp->method_handle_index_at(index)); 1.10 + break; 1.11 + case JVM_CONSTANT_MethodType : 1.12 + st->print("signature_index=%d", cp->method_type_index_at(index)); 1.13 + break; 1.14 default: 1.15 ShouldNotReachHere(); 1.16 break; 1.17 @@ -437,6 +444,7 @@ 1.18 // can be non-perm, can be non-instance (array) 1.19 } 1.20 } 1.21 + // FIXME: verify JSR 292 tags JVM_CONSTANT_MethodHandle, etc. 1.22 base++; 1.23 } 1.24 guarantee(cp->tags()->is_perm(), "should be in permspace");