public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/20193] New: Variable names incorrectly resolved in inner classes.
@ 2005-02-24 18:00 thhal at mailblocks dot com
2005-02-24 20:40 ` [Bug libgcj/20193] " thhal at mailblocks dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: thhal at mailblocks dot com @ 2005-02-24 18:00 UTC (permalink / raw)
To: java-prs
An inner class that references a static variable in an outer class will fail if
the super class of that outer class defines the same variable with a visibility
that makes it inaccessible to the inner class.
--
Summary: Variable names incorrectly resolved in inner classes.
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thhal at mailblocks dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20193
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/20193] Variable names incorrectly resolved in inner classes.
2005-02-24 18:00 [Bug libgcj/20193] New: Variable names incorrectly resolved in inner classes thhal at mailblocks dot com
@ 2005-02-24 20:40 ` thhal at mailblocks dot com
2005-02-24 22:01 ` [Bug java/20193] " pinskia at gcc dot gnu dot org
2005-06-30 5:11 ` tromey at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: thhal at mailblocks dot com @ 2005-02-24 20:40 UTC (permalink / raw)
To: java-prs
------- Additional Comments From thhal at mailblocks dot com 2005-02-24 15:16 -------
Created an attachment (id=8271)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8271&action=view)
Java class that illustrates the problem.
Try gcj -c ScopeProblem.java. It fails with:
ScopeProblem.java:12: error: Can't access package-private field ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20193
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/20193] Variable names incorrectly resolved in inner classes.
2005-02-24 18:00 [Bug libgcj/20193] New: Variable names incorrectly resolved in inner classes thhal at mailblocks dot com
2005-02-24 20:40 ` [Bug libgcj/20193] " thhal at mailblocks dot com
@ 2005-02-24 22:01 ` pinskia at gcc dot gnu dot org
2005-06-30 5:11 ` tromey at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-24 22:01 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|libgcj |java
Keywords| |rejects-valid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20193
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/20193] Variable names incorrectly resolved in inner classes.
2005-02-24 18:00 [Bug libgcj/20193] New: Variable names incorrectly resolved in inner classes thhal at mailblocks dot com
2005-02-24 20:40 ` [Bug libgcj/20193] " thhal at mailblocks dot com
2005-02-24 22:01 ` [Bug java/20193] " pinskia at gcc dot gnu dot org
@ 2005-06-30 5:11 ` tromey at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-06-30 5:11 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-06-30 05:11:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20193
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-30 5:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-24 18:00 [Bug libgcj/20193] New: Variable names incorrectly resolved in inner classes thhal at mailblocks dot com
2005-02-24 20:40 ` [Bug libgcj/20193] " thhal at mailblocks dot com
2005-02-24 22:01 ` [Bug java/20193] " pinskia at gcc dot gnu dot org
2005-06-30 5:11 ` tromey at gcc dot gnu dot org
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).