public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libgcj/7060: getMethod() doesn't search super interface
@ 2002-06-18 14:45 Jeff Sturm
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Sturm @ 2002-06-18 14:45 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libgcj/7060; it has been noted by GNATS.
From: Jeff Sturm <jsturm@one-point.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jsturm@one-point.com,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, java-prs@gcc.gnu.org
Cc:
Subject: Re: libgcj/7060: getMethod() doesn't search super interface
Date: Tue, 18 Jun 2002 17:30:45 -0400
See http://gcc.gnu.org/ml/java-patches/2002-q2/msg00459.html for a
possible fix.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7060
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libgcj/7060: getMethod() doesn't search super interface
@ 2002-07-05 13:34 tromey
0 siblings, 0 replies; 3+ messages in thread
From: tromey @ 2002-07-05 13:34 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, java-prs, jsturm, nobody, tromey
Synopsis: getMethod() doesn't search super interface
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Fri Jul 5 13:34:24 2002
Responsible-Changed-Why:
I'm handling this.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Fri Jul 5 13:34:24 2002
State-Changed-Why:
I have a patch (based on Jeff's) that I'll be checking
in shortly.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7060
^ permalink raw reply [flat|nested] 3+ messages in thread
* libgcj/7060: getMethod() doesn't search super interface
@ 2002-06-17 14:24 jsturm
0 siblings, 0 replies; 3+ messages in thread
From: jsturm @ 2002-06-17 14:24 UTC (permalink / raw)
To: gcc-gnats
>Number: 7060
>Category: libgcj
>Synopsis: getMethod() doesn't search super interface
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 17 13:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Jeff Sturm
>Release: 3.1
>Organization:
>Environment:
sparcv9-sun-solaris2.8
>Description:
java.lang.class.getMethod() doesn't appear to search superinterfaces for method declarations.
>How-To-Repeat:
Compile/run the attached code. JDK output:
$ java C
public abstract void A.a()
public abstract void A.a()
libgcj output:
$ ./c
public abstract void A.a()
java.lang.NoSuchMethodException
at 0xffffffff7ec0a348: _ZN4java4lang9ThrowableC1Ev (/opt/gcc/lib/libgcj.so.3) at 0xffffffff7ebe5e54: _ZN4java4lang5Class9getMethodEPNS0_6StringEP6JArrayIPS1_E (/opt/gcc/lib/libgcj.so.3)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="C.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="C.java"
aW50ZXJmYWNlIEEgewogIHZvaWQgYSgpOwp9CgppbnRlcmZhY2UgQiBleHRlbmRzIEEgewp9Cgpw
dWJsaWMgY2xhc3MgQyB7CiAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykg
ewogICAgdHJ5IHsKICAgICAgU3lzdGVtLm91dC5wcmludGxuKEEuY2xhc3MuZ2V0TWV0aG9kKCJh
IiwgbmV3IENsYXNzWzBdKSk7CiAgICB9IGNhdGNoIChUaHJvd2FibGUgdCkgewogICAgICB0LnBy
aW50U3RhY2tUcmFjZSgpOwogICAgfQogICAgdHJ5IHsKICAgICAgU3lzdGVtLm91dC5wcmludGxu
KEIuY2xhc3MuZ2V0TWV0aG9kKCJhIiwgbmV3IENsYXNzWzBdKSk7CiAgICB9IGNhdGNoIChUaHJv
d2FibGUgdCkgewogICAgICB0LnByaW50U3RhY2tUcmFjZSgpOwogICAgfQogIH0KfQo=
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-05 20:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18 14:45 libgcj/7060: getMethod() doesn't search super interface Jeff Sturm
-- strict thread matches above, loose matches on Subject: below --
2002-07-05 13:34 tromey
2002-06-17 14:24 jsturm
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).