This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problems with Serializable-String[] in 2.96
- From: Pete Kelly <ramsfanxxxiv at yahoo dot com>
- To: Andrew Haley <aph at cambridge dot redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 13 Sep 2002 10:22:58 -0700 (PDT)
- Subject: Re: Problems with Serializable-String[] in 2.96
Andrew,
Thanks for testing and replying so quickly. Sorry for
the "newbie" question, but do you recommend building
all of gcc or just gcj?
Thanks again,
Pete
--- Andrew Haley <aph@cambridge.redhat.com> wrote:
> 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.
__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com