# HG changeset patch # User coleenp # Date 1467215547 14400 # Node ID 82116bbd620ff60723d6e0e2562567ac0ef71ac6 # Parent 5f5c545a89b8255d81c2a1e3bbc4513680826714 8159515: Improve indy validation Reviewed-by: jrose, hseigel, vlivanov, bmoloden, ctornqvi, mschoene diff -r 5f5c545a89b8 -r 82116bbd620f src/share/vm/prims/jvm.cpp --- a/src/share/vm/prims/jvm.cpp Thu Jun 30 08:11:30 2016 -0400 +++ b/src/share/vm/prims/jvm.cpp Wed Jun 29 11:52:27 2016 -0400 @@ -2413,7 +2413,6 @@ switch (cp->tag_at(cp_index).value()) { case JVM_CONSTANT_InterfaceMethodref: case JVM_CONSTANT_Methodref: - case JVM_CONSTANT_NameAndType: // for invokedynamic return cp->uncached_name_ref_at(cp_index)->as_utf8(); default: fatal("JVM_GetCPMethodNameUTF: illegal constant"); @@ -2431,7 +2430,6 @@ switch (cp->tag_at(cp_index).value()) { case JVM_CONSTANT_InterfaceMethodref: case JVM_CONSTANT_Methodref: - case JVM_CONSTANT_NameAndType: // for invokedynamic return cp->uncached_signature_ref_at(cp_index)->as_utf8(); default: fatal("JVM_GetCPMethodSignatureUTF: illegal constant");