< prev index next >

src/hotspot/share/utilities/exceptions.cpp

Print this page
rev 52749 : Bootstrap method consolidation
* clean up and simplify JDK support code for BSM invocation
* simplify JVM bootstrap handshake: use BootstrapCallInfo only
* remove unused JVM paths and data fields
* move bootstrap argument processing from MethodHandleNatives to ConstantPool
* remove ConstantGroup; merge argument access into BootstrapCallInfo
* adjust BSM argument access: remove copyArguments, add argumentRef API
* add metadata-free BSM modes, including symbolic arguments from CP

*** 417,427 **** return; } // Otherwise wrap the exception in a BootstrapMethodError if (TraceMethodHandles) { ! tty->print_cr("[constant/invoke]dynamic throws BSME for " INTPTR_FORMAT, p2i((void *)exception)); exception->print(); } Handle nested_exception(THREAD, exception); THREAD->clear_pending_exception(); THROW_CAUSE(vmSymbols::java_lang_BootstrapMethodError(), nested_exception) --- 417,427 ---- return; } // Otherwise wrap the exception in a BootstrapMethodError if (TraceMethodHandles) { ! tty->print_cr("bootstrap method invocation wraps BSME around " INTPTR_FORMAT, p2i((void *)exception)); exception->print(); } Handle nested_exception(THREAD, exception); THREAD->clear_pending_exception(); THROW_CAUSE(vmSymbols::java_lang_BootstrapMethodError(), nested_exception)
< prev index next >