changeset 8354:fb5a26de630e

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
author sspitsyn
date Wed, 29 Apr 2015 17:14:40 -0700
parents 3998b84e76d9
children 2a2f6674bc5a
files src/share/vm/interpreter/interpreterRuntime.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/interpreter/interpreterRuntime.cpp	Wed Apr 29 07:03:49 2015 -0700
+++ b/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