[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: serialVersionUID

From: Giannis Georgalis
Subject: Re: serialVersionUID
Date: 26 Sep 2002 13:18:56 +0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Eric Blake <address@hidden> writes:

> It is necessary for serialization, although it is usually a private
> field. ALL classes in classpath which implement
> should declare this field, and it should match the results of running
> Sun's serialver tool on that class; otherwise, Classpath will not be
> compatible for serialization. uses the value of
> this field to see if two class versions are compatible. This field is
> needed in Classpath even when Sun's jar does not have the
> field. (Interfaces which extend Serializable do not need this field).

Thank you Eric, I however had to run the serialver tool on a
i386/solaris8 system (I didn't want to install sun's SDK on my
computer, just for the serialver tool). Does the output match
every system ? Is there a posibility that there are different
serialVersionUIDs for different systems?

Thank you,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]