Wed, 29 Jun 2016 11:52:27 -0400
8159515: Improve indy validation
Reviewed-by: jrose, hseigel, vlivanov, bmoloden, ctornqvi, mschoene
src/share/vm/prims/jvm.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/prims/jvm.cpp Tue Jul 12 14:50:24 2016 -0700 1.2 +++ b/src/share/vm/prims/jvm.cpp Wed Jun 29 11:52:27 2016 -0400 1.3 @@ -2626,7 +2626,6 @@ 1.4 switch (cp->tag_at(cp_index).value()) { 1.5 case JVM_CONSTANT_InterfaceMethodref: 1.6 case JVM_CONSTANT_Methodref: 1.7 - case JVM_CONSTANT_NameAndType: // for invokedynamic 1.8 return cp->uncached_name_ref_at(cp_index)->as_utf8(); 1.9 default: 1.10 fatal("JVM_GetCPMethodNameUTF: illegal constant"); 1.11 @@ -2644,7 +2643,6 @@ 1.12 switch (cp->tag_at(cp_index).value()) { 1.13 case JVM_CONSTANT_InterfaceMethodref: 1.14 case JVM_CONSTANT_Methodref: 1.15 - case JVM_CONSTANT_NameAndType: // for invokedynamic 1.16 return cp->uncached_signature_ref_at(cp_index)->as_utf8(); 1.17 default: 1.18 fatal("JVM_GetCPMethodSignatureUTF: illegal constant");