Friday, 8 April 2016

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 a different serialVersionUID than that of the corresponding sender's class, then deserialization will result in an InvalidClassException.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.