[Bug libgcj/9866] static nested class refers to private member of outer class

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 4 03:13:00 GMT 2003


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.



More information about the Gcc-bugs mailing list