hotspot/src/share/vm/interpreter/linkResolver.cpp
changeset 13732 a9865f5514fc
parent 13728 882756847a04
child 13929 8da0dc50a6e4
--- a/hotspot/src/share/vm/interpreter/linkResolver.cpp	Tue Sep 04 23:27:55 2012 +0200
+++ b/hotspot/src/share/vm/interpreter/linkResolver.cpp	Tue Sep 04 18:01:20 2012 -0700
@@ -1265,7 +1265,7 @@
                                                      bootstrap_specifier,
                                                      method_name, method_signature,
                                                      &resolved_appendix,
-                                                     CHECK);
+                                                     THREAD);
   if (HAS_PENDING_EXCEPTION) {
     if (TraceMethodHandles) {
       tty->print_cr("invokedynamic throws BSME for "INTPTR_FORMAT, PENDING_EXCEPTION);
@@ -1282,8 +1282,7 @@
     // See the "Linking Exceptions" section for the invokedynamic instruction in the JVMS.
     Handle nested_exception(THREAD, PENDING_EXCEPTION);
     CLEAR_PENDING_EXCEPTION;
-    THROW_MSG_CAUSE(vmSymbols::java_lang_BootstrapMethodError(),
-                    "BootstrapMethodError", nested_exception)
+    THROW_CAUSE(vmSymbols::java_lang_BootstrapMethodError(), nested_exception)
   }
   result.set_handle(resolved_method, resolved_appendix, CHECK);
 }