This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with Serializable-String[] in 2.96


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]