harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry A. Durnev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1450) [drlvm][classloader] Package-private final method is considered to be overridden in another package(IncompatibleClassChangeError)
Date Wed, 13 Sep 2006 08:10:22 GMT
[drlvm][classloader] Package-private final method is considered to be overridden in another
package(IncompatibleClassChangeError)
---------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-1450
                 URL: http://issues.apache.org/jira/browse/HARMONY-1450
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Dmitry A. Durnev


The following test:

A.java
----------------------------------
package finalmethodtest;

public abstract class A {
    final void m() {
        System.out.println("m");
    }
}
-----------------------------------

FinalMethodTest.java
------------------------------------
import finalmethodtest.A;


class B extends A {
    private void m() {
        
    }
    public void test() {
        m();
    }
}

public class FinalMethodTest {
    public static void main(String[] args) {
        new B().test();
    }

}
--------------------------------------------------

throws IncompatibleClassChangeError on
Harmony but passes normally on RI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message