harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r512264 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class_File_Loader.cpp
Date Tue, 27 Feb 2007 14:29:41 GMT
Author: gshimansky
Date: Tue Feb 27 06:29:40 2007
New Revision: 512264

URL: http://svn.apache.org/viewvc?view=rev&rev=512264
Log:
Applied HARMONY-3248 [drlvm][classloader] Unexpected assertion failed in case of class format
error in LVT

Tests passed on win32. Attached test doesn't crash VM any more.


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

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class_File_Loader.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class_File_Loader.cpp?view=diff&rev=512264&r1=512263&r2=512264
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class_File_Loader.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class_File_Loader.cpp Tue Feb
27 06:29:40 2007
@@ -1697,7 +1697,8 @@
     
     if(num_lvt_entries == 0 && num_lvtt_entries != 0) {
             REPORT_FAILED_METHOD("if LocalVariableTable is empty "
-                "LocalVariableTypeTable must be empty too");        
+                "LocalVariableTypeTable must be empty too");
+        return false;
     }
 
     if(num_lvt_entries != 0) {



Mime
View raw message