|
|
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.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
|
|