harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r489801 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Verifier_stub.cpp
Date Fri, 22 Dec 2006 23:42:04 GMT
Author: gshimansky
Date: Fri Dec 22 15:42:04 2006
New Revision: 489801

URL: http://svn.apache.org/viewvc?view=rev&rev=489801
Log:
Applied HARMONY-2850 [drlvm] NoClassDefFoundError can't be thrown from verifier.

Tests passed on Ubuntu6 x86, WindowsXP and SuSE9 x86_64


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

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Verifier_stub.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Verifier_stub.cpp?view=diff&rev=489801&r1=489800&r2=489801
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Verifier_stub.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Verifier_stub.cpp Fri Dec 22
15:42:04 2006
@@ -123,9 +123,9 @@
     if( result != VER_OK ) {
         unlock();
         if( result == VER_ErrorLoadClass ) {
-            REPORT_FAILED_CLASS_CLASS(m_class_loader, this,
-            VM_Global_State::loader_env->JavaLangNoClassDefFoundError_String->bytes,
-            error);
+            // Exception is raised by class loading
+            // and passed through verifier unchanged
+            assert(exn_raised());
         } else {
             REPORT_FAILED_CLASS_CLASS(m_class_loader, this,
                 "java/lang/VerifyError", error);



Mime
View raw message