java.util Classpath/libgcj merging

Mark Wielaard
Sun Feb 18 14:57:00 GMT 2001


On Mon, Feb 19, 2001 at 11:31:08AM +1300, Bryce McKinlay wrote:
> Mark Wielaard wrote:
> >     * java/util/ merge with Classpath
> >     * java/util/ idem
> In the past I've held off merging in Classpath's exception classes because I'm
> not sure I like the way that the SerialVersionUIDs are present in all of them.
> Should it be neccessary to have a SerialVersionUID in a class that doesnt have an
> explicit serialized form (ie readObject and writeObject methods)? Or are we just
> potentially masking serialization incompatibilies?

I see what you mean. Yes, we are potentially masking serialization
incompatibilities. I will look at this first before checking in.
I hope we can just remove the explicit SerialVersionUID.

> > Note that I currently cannot actually test these changes with gcj because
> > the head seems broken on i386 and the branch seems broken on powerpc. Sigh.
> Whats the problem on the branch? Has it been reported?
I am currently trying to build the branch on i586-pc-linux-gnu, but on
powerpc-unknown-linux-gnu I got the following:

make[6]: Entering directory `/opt/mark/gcc-obj/powerpc-unknown-linux-gnu/nof/libffi'
/bin/sh ./libtool --mode=link /opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include  -msoft-float -fPIC -mstrict-align -fexceptions -g -O2  -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o ffitest  ffitest.o 
/opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -msoft-float -fPIC -mstrict-align -fexceptions -g -O2 -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o .libs/ffitest ffitest.o  ./.libs/ -Wl,--rpath -Wl,/usr/local/gcc/lib/nof
/usr/bin/ld: warning:, needed by ./.libs/, not found (try using --rpath)
./.libs/ undefined reference to `__extendsfdf2@GCC_3.0'
collect2: ld returned 1 exit status
make[6]: *** [ffitest] Error 1



Stuff to read:
    < >
  What's Wrong with Copy Protection, by John Gilmore

More information about the Java-patches mailing list