src/hotspot/share/oops/constantPool.cpp
changeset 57511 00ae3b739184
parent 54927 1512d88b24c6
child 58177 4932dce35882
--- a/src/hotspot/share/oops/constantPool.cpp	Wed Jul 24 08:34:06 2019 -0400
+++ b/src/hotspot/share/oops/constantPool.cpp	Wed Jul 24 10:22:11 2019 -0400
@@ -760,6 +760,10 @@
     // return the method type signature in the error message
     message = this_cp->method_type_signature_at(which);
     break;
+  case JVM_CONSTANT_Dynamic:
+    // return the name of the condy in the error message
+    message = this_cp->uncached_name_ref_at(which);
+    break;
   default:
     ShouldNotReachHere();
   }