diff src/share/vm/classfile/classFileParser.cpp @ 2461:758ba0bf7bcc

7012087: JSR 292 Misleading exception message for a non-bound MH for a virtual method Summary: Improve error message formatting to give more information to user. Also, catch a corner case related to 6930553 and 6844449. Reviewed-by: kvn
author jrose
date Thu, 07 Apr 2011 17:12:21 -0700
parents ed69575596ac
children 8ce625481709
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp	Thu Apr 07 17:02:30 2011 -0700
+++ b/src/share/vm/classfile/classFileParser.cpp	Thu Apr 07 17:12:21 2011 -0700
@@ -560,6 +560,7 @@
         }
         break;
       }
+      case JVM_CONSTANT_InvokeDynamic:
       case JVM_CONSTANT_Fieldref:
       case JVM_CONSTANT_Methodref:
       case JVM_CONSTANT_InterfaceMethodref: {