harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r487306 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp
Date Thu, 14 Dec 2006 19:08:06 GMT
Author: gshimansky
Date: Thu Dec 14 11:08:06 2006
New Revision: 487306

URL: http://svn.apache.org/viewvc?view=rev&rev=487306
Log:
Applied HARMONY-2534 [drlvm][jvmti] ExceptionCatch event is sent in thow area.

Tests passed on Ubuntu6, WindowsXP and SuSE9 x86_64


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp?view=diff&rev=487306&r1=487305&r2=487306
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp Thu Dec 14 11:08:06 2006
@@ -1436,11 +1436,15 @@
 
             tmn_suspend_enable();
             assert(hythread_is_suspend_enabled());
+            BEGIN_RAISE_AREA;
 
             func((jvmtiEnv *)ti_env, jni_env,
                 reinterpret_cast<jthread>(hThread),
                 reinterpret_cast<jmethodID>(catch_method),
                 catch_location, exn_object);
+
+            END_RAISE_AREA;
+            exn_rethrow_if_pending();
             tmn_suspend_disable();
         }
         ti_env = next_env;



Mime
View raw message