From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11891 invoked by alias); 22 Aug 2005 19:12:16 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 11757 invoked by uid 48); 22 Aug 2005 19:12:14 -0000 Date: Mon, 22 Aug 2005 19:12:00 -0000 Message-ID: <20050822191214.11756.qmail@sourceware.org> From: "tromey at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20050817055552.23431.snambi@gmail.com> References: <20050817055552.23431.snambi@gmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/23431] [4.0/4.1 regression] gcj allows overriding with less restrictive access X-Bugzilla-Reason: CC X-SW-Source: 2005-q3/txt/msg00362.txt.bz2 List-Id: ------- 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