problem with java.lang.Class.serialVersionUID
Tom Tromey
tromey@cygnus.com
Tue Nov 2 16:00:00 GMT 1999
>> I'm probably being dense, but why would we want to add this?
Godmar> Because at some point you'll want to implement serialization.
Godmar> From looking at the source, it seems as though serialization
Godmar> support hasn't been included in libgcj.
That's right. Someone was working on it, but I don't know the current
status.
>> The compiler doesn't like Class or Object to differ from its
>> internal idea of how they look.
Godmar> That's what I figured. I can definitely see why wrt instance
Godmar> variables.
I don't understand why adding static variables doesn't work, either.
I also don't know how to change the compiler to do this. You're on
your own, more or less...
Tom
More information about the Java
mailing list