[email protected]
[Top] [All Lists]

Re: gij IllegalAccessError

Subject: Re: gij IllegalAccessError
From: Ranjit Mathew
Date: Thu, 19 May 2005 13:08:25 +0530
Norman Hendrich wrote:
> Hello,
> is this a known problem with inner classes?  
> Program works fine when compiled (modulo minor AWT issues), but gij
> complains about IllegalAccessErrors.

Very likely you're seeing the same problem as PR19870.

The problem is that GCJ does not generate "synthetic
accessors" for accessing a private member when inner
(and top-level) classes are involved.

BTW, you'd find that "java" from the JDK is able to
execute your class files just fine, unless you use
the "-verify" option.


Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/

<Prev in Thread] Current Thread [Next in Thread>