Problems with Serializable-String[] in 2.96
Andrew Haley
aph@cambridge.redhat.com
Fri Sep 13 10:20:00 GMT 2002
Pete Kelly writes:
> I am unable to build the code below with gcj from
> RedHat 7.3 (gcj version 2.96).
>
> It appears there is a problem with using a String[]
> when the method signature specifies a paramenter of
> type java.io.Serializable. The compiler returns with
> "unexpected type on stack" error on first line of
> method as well as the line that has the method
> invocation:
>
> example/Implementor.java:11: unexpected type on stack
> example/Implementor.java:23: unexpected type on stack
>
>
> Is/was this a known issue? Has it been corrected in
> latest version of gcj?
It works with current source.
> Can I install latest version of gcj without building all of gcc?
I believe that there are binary packages available, but I'd build and
install the latest source.
Andrew.
More information about the Java
mailing list