harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r446796 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp
Date Sat, 16 Sep 2006 00:31:55 GMT
Author: geirm
Date: Fri Sep 15 17:31:54 2006
New Revision: 446796

URL: http://svn.apache.org/viewvc?view=rev&rev=446796
Log:
HARMONY-1427

Looks like the mode in which exn_print_stack_trace works has changed. It is now suspend_enabled,
and inside of this 
function there is an assertion that suspend is enabled. But the change was not applied to
JNI ExceptionDescribe 
function. It still disables suspend when calling exn_print_stack_trace.

tested on ubuntu 6, smoke and c-unit ok, 


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp?view=diff&rev=446796&r1=446795&r2=446796
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp Fri Sep 15 17:31:54 2006
@@ -613,10 +613,10 @@
     TRACE2("jni", "ExceptionDescribe called");
     assert(hythread_is_suspend_enabled());
     if (exn_raised()) {
-        tmn_suspend_disable();       //---------------------------------v
+//        tmn_suspend_disable();       //---------------------------------v
         fprintf(stderr, "JNI.ExceptionDescribe: %s:\n", exn_get_name());
         exn_print_stack_trace(stderr, exn_get());
-        tmn_suspend_enable();        //---------------------------------^
+//        tmn_suspend_enable();        //---------------------------------^
     }
 } //ExceptionDescribe
 



Mime
View raw message