hotspot/src/share/vm/prims/jvm.cpp
changeset 41541 95362dbd84f5
parent 41280 74b314ad1e9a
child 41877 1ff6dce8fe28
--- a/hotspot/src/share/vm/prims/jvm.cpp	Thu Jun 09 13:47:15 2016 -0500
+++ b/hotspot/src/share/vm/prims/jvm.cpp	Wed Jun 29 11:52:27 2016 -0400
@@ -2524,7 +2524,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");
@@ -2542,7 +2541,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");