harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r490077 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Resolve.cpp
Date Sun, 24 Dec 2006 22:32:22 GMT
Author: gshimansky
Date: Sun Dec 24 14:32:21 2006
New Revision: 490077

URL: http://svn.apache.org/viewvc?view=rev&rev=490077
Log:
Applied HARMONY-2861 [drlvm] DRLVM asserts on throwing resolution errors

Tests passed on Ubuntu6 x86, WindowsXP and SuSE9 x86_64


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Resolve.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Resolve.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Resolve.cpp?view=diff&rev=490077&r1=490076&r2=490077
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Resolve.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Resolve.cpp Sun Dec 24 14:32:21
2006
@@ -915,6 +915,7 @@
 void class_throw_linking_error(Class_Handle ch, unsigned index, unsigned opcode)
 {
     ASSERT_RAISE_AREA;
+    tmn_suspend_enable();
 
     ConstantPool& cp = ch->get_constant_pool();
     if(cp.is_entry_in_error(index)) {
@@ -966,6 +967,7 @@
             //ASSERT(0, "Unexpected opcode: " << opcode);
             break;
     }
+    tmn_suspend_disable();
 }
 
 Class *resolve_class_array_of_class1(Global_Env *env,



Mime
View raw message