public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: jsturm@one-point.com To: gcc-gnats@gcc.gnu.org Subject: libgcj/7073: bytecode interpreter gives wrong answer for interface getSuperclass() Date: Tue, 18 Jun 2002 14:06:00 -0000 [thread overview] Message-ID: <20020618205816.6959.qmail@sources.redhat.com> (raw) >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
next reply other threads:[~2002-06-18 21:06 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-06-18 14:06 jsturm [this message] 2002-07-01 19:54 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=20020618205816.6959.qmail@sources.redhat.com \ --to=jsturm@one-point.com \ --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: linkBe 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).