public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libgcj/7073: bytecode interpreter gives wrong answer for interface getSuperclass()
@ 2002-07-01 19:54 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2002-07-01 19:54 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, jsturm, nobody, tromey

Synopsis: bytecode interpreter gives wrong answer for interface getSuperclass()

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Mon Jul  1 19:54:26 2002
Responsible-Changed-Why:
    I'm handling this.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Mon Jul  1 19:54:26 2002
State-Changed-Why:
    I checked in the libgcj part of the fix a while ago.
    I just checked in the gcj part.
    So I think this is fixed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7073


^ permalink raw reply	[flat|nested] 2+ messages in thread

* libgcj/7073: bytecode interpreter gives wrong answer for interface getSuperclass()
@ 2002-06-18 14:06 jsturm
  0 siblings, 0 replies; 2+ messages in thread
From: jsturm @ 2002-06-18 14:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7073
>Category:       libgcj
>Synopsis:       bytecode interpreter gives wrong answer for interface getSuperclass()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 18 14:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Sturm
>Release:        3.1
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
For an interface class instance, getSuperclass() returns java.lang.Object instead of null.  This is inconsistent with the behavior of compiled classes and the public documentation on java.sun.com.
>How-To-Repeat:
Run the attached example under the bytecode interpreter:

[jsturm@suzy jsturm]$ gcj -C B.java
[jsturm@suzy jsturm]$ gij B
class java.lang.Object
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="B.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="B.java"

aW50ZXJmYWNlIEEgewp9CgpwdWJsaWMgY2xhc3MgQiB7CiAgcHVibGljIHN0YXRpYyB2b2lkIG1h
aW4oU3RyaW5nW10gYXJncykgewogICAgU3lzdGVtLm91dC5wcmludGxuKEEuY2xhc3MuZ2V0U3Vw
ZXJjbGFzcygpKTsKICB9Cn0K


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-02  2:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-01 19:54 libgcj/7073: bytecode interpreter gives wrong answer for interface getSuperclass() tromey
  -- strict thread matches above, loose matches on Subject: below --
2002-06-18 14:06 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).