8076579: Popping a stack frame after exception breakpoint sets last method param to exception
authorsspitsyn
Wed, 29 Apr 2015 17:14:40 -0700
changeset 30599 a8ade6f048fe
parent 30598 d50cc6db5e4c
child 30600 aba35af69786
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
hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
--- 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