This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: static nested class with reference to outer class


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]