serialization - Can serialVersionUID of java standard objects change ? -


on project, have several objects serialized. necessary use these objects on machine different jvm (possibly different versions).

our objects serialversionuid fixed , won't change, concerned serialversionuid of jvm standard objects, instance arraylist/hashset used in our serialized objects.

so question is, can these serialversionuid change between different versions of jvm or between different jvm ?

or have use serialization mechanism support different jvms ?

the serialversionuid should changed if there change class not compatible serialized versions of it.

to see changes potentially break compatibility check specification

i highly doubt new version of java introduce changes core classes break compatibility.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -