public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/18796] [4.0 Regression] gcj imports wrong superclass Date: Fri, 03 Dec 2004 23:25:00 -0000 [thread overview] Message-ID: <20041203232547.24146.qmail@sourceware.org> (raw) In-Reply-To: <20041202203921.18796.ovidr@users.sourceforge.net> ------- Additional Comments From tromey at gcc dot gnu dot org 2004-12-03 23:25 ------- I've looked into this a little. Apparently we are getting to this line in resolve_inner_class: local_super = do_resolve_class (NULL, local_super, NULL, NULL); with local_super: (gdb) pt local_super <pointer_type 0xf6d2315c Dialog unsigned SI size <integer_cst 0xf6ce9330 type <integer_type 0xf6cf01d0 bit_size_type> constant invariant 32> unit size <integer_cst 0xf6ce9150 type <integer_type 0xf6cf015c> constant invariant 4> align 32 symtab 0 alias set -1> ... but with the wrong `ctxp': (gdb) p ctxp.filename $91 = 0x8e3ab1a "./sancho/view/transfer/ClientDetailDialog.java" Then we proceed to find "Dialog" using ClientDetailDialog's imports, resulting in the incorrect org.eclipse.swt.widgets.Dialog You might think we could call do_resolve_class here with "local_enclosing" as an argument, but unfortunately it does not yet seem to have its TYPE_IMPORT_DEMAND_LIST set yet. -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
next prev parent reply other threads:[~2004-12-03 23:25 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-02 20:39 [Bug java/18796] New: " ovidr at users dot sourceforge dot net 2004-12-02 20:40 ` [Bug java/18796] " ovidr at users dot sourceforge dot net 2004-12-02 20:44 ` pinskia at gcc dot gnu dot org 2004-12-02 20:57 ` pinskia at gcc dot gnu dot org 2004-12-03 23:25 ` tromey at gcc dot gnu dot org [this message] 2004-12-04 0:44 ` pinskia at gcc dot gnu dot org 2004-12-16 18:14 ` tromey at gcc dot gnu dot org 2005-01-19 7:21 ` mmitchel at gcc dot gnu dot org 2005-03-05 21:02 ` [Bug java/18796] [4.0/4.1 " pinskia at gcc dot gnu dot org 2005-08-22 2:25 ` mmitchel at gcc dot gnu dot org
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=20041203232547.24146.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@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).