You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Geir Magnusson Jr (JIRA)" <ji...@apache.org> on 2006/09/17 18:28:25 UTC
[jira] Closed: (HARMONY-1450) [drlvm][classloader] Package-private
final method is considered to be overridden in another
package(IncompatibleClassChangeError)
[ http://issues.apache.org/jira/browse/HARMONY-1450?page=all ]
Geir Magnusson Jr closed HARMONY-1450.
--------------------------------------
> [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
> Assigned To: Geir Magnusson Jr
> Attachments: package_private_final.patch
>
>
> 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