From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27478 invoked by alias); 2 Dec 2003 18:46:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27467 invoked by uid 48); 2 Dec 2003 18:46:05 -0000 Date: Tue, 02 Dec 2003 18:46:00 -0000 From: "tromey at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20031202184603.13273.tromey@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/13273] New: [3.4 regression] gcj generates call to abstract method X-Bugzilla-Reason: CC X-SW-Source: 2003-12/txt/msg00305.txt.bz2 List-Id: This is a regression from 3.3. First, compile the attached source with jikes. The problem isn't visible if you compile to .class with "gcj -C", as gcj generates the wrong invokespecial call for "super.dispose()". (I'll also attach a .jar file containing the classes as compiled with jikes). Then compile FieldEditorPreferencePage.class with "gcj -c". gcj generates a call to this method: U IPreferencePage.dispose() However, this is an interface method, so this call is clearly wrong. gcj 3.3 emits a call to: U DialogPage.dispose() This is still wrong, but less so -- at least it will work. Really we should emit a call to PreferencePage.dispose(). (This is especially true for binary compatibility.) -- Summary: [3.4 regression] gcj generates call to abstract method Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13273