8076579: Popping a stack frame after exception breakpoint sets last method param to exception
Summary: Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary
Reviewed-by: jbachorik, coleenp, twisti
--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Wed Apr 29 07:03:49 2015 -0700
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp Wed Apr 29 17:14:40 2015 -0700
@@ -1326,6 +1326,8 @@
member_name_oop = java_lang_invoke_DirectMethodHandle::member(member_name_oop);
}
thread->set_vm_result(member_name_oop);
+ } else {
+ thread->set_vm_result(NULL);
}
IRT_END
#endif // INCLUDE_JVMTI