This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Problems with Serializable-String[] in 2.96
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: Pete Kelly <ramsfanxxxiv at yahoo dot com>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 13 Sep 2002 18:20:15 +0100 (BST)
- Subject: Problems with Serializable-String[] in 2.96
- References: <20020913171156.77720.qmail@web14603.mail.yahoo.com>
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.