This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: static nested class with reference to outer class
- From: Tom Tromey <tromey at redhat dot com>
- To: Brian <brian_252 at yahoo dot com>
- Cc: java at gcc dot gnu dot org
- Date: 25 Feb 2003 16:05:30 -0700
- Subject: Re: static nested class with reference to outer class
- References: <20030225161943.58325.qmail@web11607.mail.yahoo.com>
- Reply-to: tromey at redhat dot com
>>>>> "Brian" == Brian <brian_252 at yahoo dot com> writes:
Brian> Here's one i hope is new to you. When compiling and
Brian> executing ant-1.5.1 i ran into an IllegalAccessError.
Brian> Specifically it was in ProjectHelperImpl. They make a
Brian> nested class static. The make an explicit reference to the
Brian> outer class. And finally refer to a private member.
I believe this is the same as PR java/9369.
gcj needs to generate an access method here, but does not.
Tom