1.1 --- a/src/share/vm/interpreter/linkResolver.cpp Wed Aug 01 14:44:26 2012 -0700 1.2 +++ b/src/share/vm/interpreter/linkResolver.cpp Tue Aug 07 14:32:08 2012 -0700 1.3 @@ -1265,7 +1265,7 @@ 1.4 bootstrap_specifier, 1.5 method_name, method_signature, 1.6 &resolved_appendix, 1.7 - CHECK); 1.8 + THREAD); 1.9 if (HAS_PENDING_EXCEPTION) { 1.10 if (TraceMethodHandles) { 1.11 tty->print_cr("invokedynamic throws BSME for "INTPTR_FORMAT, PENDING_EXCEPTION); 1.12 @@ -1282,8 +1282,7 @@ 1.13 // See the "Linking Exceptions" section for the invokedynamic instruction in the JVMS. 1.14 Handle nested_exception(THREAD, PENDING_EXCEPTION); 1.15 CLEAR_PENDING_EXCEPTION; 1.16 - THROW_MSG_CAUSE(vmSymbols::java_lang_BootstrapMethodError(), 1.17 - "BootstrapMethodError", nested_exception) 1.18 + THROW_CAUSE(vmSymbols::java_lang_BootstrapMethodError(), nested_exception) 1.19 } 1.20 result.set_handle(resolved_method, resolved_appendix, CHECK); 1.21 }