diff src/share/vm/prims/jvmtiThreadState.hpp @ 4841:af739d5ab23c

6972759: Step over not working after thrown exception and Pop Summary: reset jvmtithreadstate exception state after frame pop and forceearlyreturn processed Reviewed-by: minqi, dholmes, dlong Contributed-by: bill.pittore@oracle.com
author bpittore
date Sat, 21 Jan 2012 23:02:40 -0500
parents f95d63e2154a
children d2a62e0f25eb
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiThreadState.hpp	Wed Jan 11 17:58:26 2012 -0500
+++ b/src/share/vm/prims/jvmtiThreadState.hpp	Sat Jan 21 23:02:40 2012 -0500
@@ -165,6 +165,10 @@
   inline bool is_exception_caught()    { return _exception_caught;  }
   inline void set_exception_detected() { _exception_detected = true;
                                          _exception_caught = false; }
+  inline void clear_exception_detected() {
+    _exception_detected = false;
+    assert(_exception_caught == false, "_exception_caught is out of phase");
+  }
   inline void set_exception_caught()   { _exception_caught = true;
                                          _exception_detected = false; }