This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/19870] gcj -C doesn't generate accessors for private members across nested class boundaries
- From: "rmathew at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 27 May 2005 05:39:07 -0000
- Subject: [Bug java/19870] gcj -C doesn't generate accessors for private members across nested class boundaries
- References: <20050210002019.19870.mark@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rmathew at gcc dot gnu dot org 2005-05-27 05:39 -------
Note that this PR should not be closed as the checked-in patch was
only for generating accessors for static fields. Methods are still
a problem as is demonstrated by this simple testcase:
public class A
{
public static class B
{
private static void snafu( )
{
System.out.println( "Hello!");
}
}
public static void main( String[] args)
{
B.snafu( );
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19870