This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/18119] Private inner class is visible when it shouldn't be
- From: "mckinlay at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2005 01:49:36 -0000
- Subject: [Bug java/18119] Private inner class is visible when it shouldn't be
- References: <20041023004958.18119.csm@gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mckinlay at redhat dot com 2005-06-18 01:49 -------
GCJ actually has the resolution order correct here. The problem is that a.A.B is
not visible from b.C, because its a private class. Instead of an error, however,
GCJ needs to resolve to the visible class b.B instead.
I'm testing a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|GCJ imports inner classes |Private inner class is
|too eagarly |visible when it shouldn't be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18119