|
From: | tromey at gcc dot gnu dot org |
Subject: | [Bug libgcj/23431] [4.0/4.1 regression] gcj allows overriding with less restrictive access |
Date: | 22 Aug 2005 19:12:13 -0000 |
------- Additional Comments From tromey at gcc dot gnu dot org 2005-08-22 19:12 ------- Here is a test case that needs only libgcj: abstract class B implements Runnable { public B() { } abstract void run(); } class C extends B { void run() { } } class A { private C c = null; public A() { System.out.println("A is getting instantiated"); c = new C(); } public static void main( String[] args ) { A a = new A(); } } I'm changing the synopsis of this PR. It is not a gij bug but rather a gcj bug. -- What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |13607 nThis| | Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-08-22 19:12:07 date| | Summary|abstract method resolve |[4.0/4.1 regression] gcj |error in gij |allows overriding with less | |restrictive access http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23431
[Prev in Thread] | Current Thread | [Next in Thread] |