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/32638] Wrong selection of field in inner class when outer class and super class have a relevant filed named the same Date: Thu, 05 Jul 2007 17:31:00 -0000 [thread overview] Message-ID: <20070705173119.24346.qmail@sourceware.org> (raw) In-Reply-To: <bug-32638-3639@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from tromey at gcc dot gnu dot org 2007-07-05 17:31 ------- I tried this with svn trunk and got 'false'. If there is a bug here it is in ecj, not gcj. I'm not sure I agree with your interpretation here. I don't see how specificity applies. Isn't that term only used for overload resolution? It's been a while since I was completely familiar with the JLS, though ... where are you reading? IMO the JLS could be clearer here, but I believe the local 'o' shadows the field a.o. See: http://java.sun.com/docs/books/jls/third_edition/html/names.html#34133 Anyway, I suggest filing against ecj or perhaps the JDK for resolution. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32638
next prev parent reply other threads:[~2007-07-05 17:31 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-07-05 17:12 [Bug java/32638] New: " mark at gcc dot gnu dot org 2007-07-05 17:31 ` tromey at gcc dot gnu dot org [this message] 2007-07-05 18:34 ` [Bug java/32638] " mark at klomp 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=20070705173119.24346.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).