From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22681 invoked by alias); 5 Dec 2002 17:36:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22646 invoked by uid 71); 5 Dec 2002 17:36:01 -0000 Resent-Date: 5 Dec 2002 17:36:01 -0000 Resent-Message-ID: <20021205173601.22645.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, mark@klomp.org Received: (qmail 19645 invoked by uid 61); 5 Dec 2002 17:26:30 -0000 Message-Id: <20021205172630.19644.qmail@sources.redhat.com> Date: Thu, 05 Dec 2002 09:36:00 -0000 From: mark@klomp.org Reply-To: mark@klomp.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libgcj/8823: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods) X-SW-Source: 2002-12/txt/msg00282.txt.bz2 List-Id: >Number: 8823 >Category: libgcj >Synopsis: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods) >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Dec 05 09:36:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: mark@klomp.org >Release: gij (GNU libgcj) version 3.3 20021205 (experimental) >Organization: >Environment: >Description: _Jv_ResolvePoolEntry doesn't lookup methods in (abstract) superclasses that (didn't) implement an Interface method. The following code shows the problem: When compiled with "gcj -C *.java" and run with "gij C" it throws: Exception in thread "main" java.lang.NoSuchMethodError: method A.m was not found. at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/local/gcc33/lib/libgcj.so.3.0.0) at C.main(java.lang.String[]) (Unknown Source) More background information (look for Miranda) can be found at the IK.VM.NET weblog of Jeroen Frijters: http://radio.weblogs.com/0109845/2002/11/22.html#a65 http://radio.weblogs.com/0109845/2002/11/25.html#a67 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: