public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: mark@klomp.org
To: gcc-gnats@gcc.gnu.org
Subject: libgcj/8823: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods)
Date: Thu, 05 Dec 2002 09:36:00 -0000	[thread overview]
Message-ID: <20021205172630.19644.qmail@sources.redhat.com> (raw)


>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:


             reply	other threads:[~2002-12-05 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05  9:36 mark [this message]
2002-12-05  9:56 Tom Tromey
2002-12-05 15:36 Mark Wielaard
2002-12-08 14:56 Tom Tromey
2002-12-08 16:06 Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021205172630.19644.qmail@sources.redhat.com \
    --to=mark@klomp.org \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).