--- old/src/share/vm/prims/jvm.cpp 2017-06-08 09:09:12.061882872 -0400 +++ new/src/share/vm/prims/jvm.cpp 2017-06-08 09:09:11.952775284 -0400 @@ -2231,6 +2231,8 @@ result = JVM_CONSTANT_String; } else if (tag.is_method_type_in_error()) { result = JVM_CONSTANT_MethodType; + } else if (tag.is_invoke_dynamic_in_error()) { + result = JVM_CONSTANT_InvokeDynamic; } else if (tag.is_method_handle_in_error()) { result = JVM_CONSTANT_MethodHandle; }