What will happen if you try to deserialize an object with different serialVersionUID ?
If the receiver has loaded a class for the object that has adifferent serialVersionUIDthan that of the corresponding sender's class, then deserialization will result in anInvalidClassException.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.