harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcfi...@apache.org
Subject svn commit: r652387 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp
Date Wed, 30 Apr 2008 14:38:16 GMT
Author: mcfirst
Date: Wed Apr 30 07:38:15 2008
New Revision: 652387

URL: http://svn.apache.org/viewvc?rev=652387&view=rev
Log:
Applying the patch from HARMONY-5797 [drlvm][class loading] assertion failure when interface
signature does not match the one of a method

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp?rev=652387&r1=652386&r2=652387&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp Wed Apr 30 07:38:15
2008
@@ -1455,12 +1455,11 @@
 
     hythread_suspend_enable();
     m = resolve_interface_method_env(env, klass, cp_idx, true);
-    assert(m);
     hythread_suspend_disable();
 
     obj = obj_h->object;
     oh_discard_local_handle(obj_h);
-    END_RAISE_AREA;
+    END_RAISE_AREA; // rethrow NoSuchMethodError if any
     assert(m!=NULL);
 
     assert(obj!=NULL);



Mime
View raw message