This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: problem with java.lang.Class.serialVersionUID


>> 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

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