static nested class with reference to outer class

Tom Tromey tromey@redhat.com
Wed Feb 26 00:04:00 GMT 2003


>>>>> "Brian" == Brian  <brian_252@yahoo.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



More information about the Java mailing list