--- a/hotspot/src/share/vm/classfile/verifier.cpp Fri Nov 05 09:32:08 2010 -0400
+++ b/hotspot/src/share/vm/classfile/verifier.cpp Fri Nov 12 09:37:13 2010 -0500
@@ -1908,7 +1908,7 @@
unsigned int types = (opcode == Bytecodes::_invokeinterface
? 1 << JVM_CONSTANT_InterfaceMethodref
: opcode == Bytecodes::_invokedynamic
- ? (1 << JVM_CONSTANT_NameAndType
+ ? ((AllowTransitionalJSR292 ? 1 << JVM_CONSTANT_NameAndType : 0)
|1 << JVM_CONSTANT_InvokeDynamic)
: 1 << JVM_CONSTANT_Methodref);
verify_cp_type(index, cp, types, CHECK_VERIFY(this));