harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r549822 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Class_File_Loader.cpp
Date Fri, 22 Jun 2007 14:09:47 GMT
Author: gshimansky
Date: Fri Jun 22 07:09:46 2007
New Revision: 549822

URL: http://svn.apache.org/viewvc?view=rev&rev=549822
Log:
Applied patch from HARMONY-4269
[drlvm][classloader] VTSVM failed due to incorrect change in class parsing.


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=549822&r1=549821&r2=549822
==============================================================================
--- 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 Fri Jun
22 07:09:46 2007
@@ -2798,8 +2798,8 @@
     if (!(m_version >= CLASSFILE_MAJOR
         && m_version <= CLASSFILE_MAJOR_MAX))
     {
-        REPORT_FAILED_CLASS_FORMAT(this, "class has version number " << m_version);
-        return false;
+        REPORT_FAILED_CLASS_CLASS(m_class_loader, this, "java/lang/UnsupportedClassVersionError",
+            "class has version number " << m_version);
     }
 
     if(m_version == JAVA5_CLASS_FILE_VERSION && minor_version > 0)



Mime
View raw message