This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/9866] static nested class refers to private member of outer class
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2003 03:13:06 -0000
- Subject: [Bug libgcj/9866] static nested class refers to private member of outer class
- References: <20030226175600.9866.brian_252@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9866
------- Additional Comments From tromey at gcc dot gnu dot org 2003-08-04 03:13 -------
The JDK java interpreter does accept the code gcj
generates. However, javac generates an explicit
package-private settor method. That is what gcj
should do as well. So, this is probably two bugs:
one in libgcj's access checking, and another in
gcj itself. The latter is, I believe, a duplicate.