harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r432308 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Prepare.cpp
Date Thu, 17 Aug 2006 17:57:01 GMT
Author: geirm
Date: Thu Aug 17 10:57:01 2006
New Revision: 432308

URL: http://svn.apache.org/viewvc?rev=432308&view=rev
Log:
Patch from HARMONY-1179

Applied and tested with smoke test as well as

public class Test {
          public static void main(String[] args) throws Throwable {

Class.forName("edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor");
                          }
}

which worked as expected with the backport jar in the classpath



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

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Prepare.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Prepare.cpp?rev=432308&r1=432307&r2=432308&view=diff
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Prepare.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/Prepare.cpp Thu Aug
17 10:57:01 2006
@@ -855,7 +855,7 @@
                 for (j = 0;  j < n_super_virtual_method_entries;  j++) {
                     Method *m = super_vtable_descriptors[j];
                     if (name == m->get_name() && desc == m->get_descriptor())
{
-                        if( m->is_final() ) {
+                        if( m->is_final() && !m->is_private() ) {
                             clss->state = ST_Error;
                             return;
                         }



Mime
View raw message