Java / Java Serialization
Give few examples of incompatible changes in Java serialization.
Changing implementation from Serializable to Externalizable interface,
Deleting an existing Serializable field,
Changing non-transient field to transient, non-static to static,
Changing the field type,
Updating the class package.
Modifying the writeObject() / readObject() method, we must not modify these methods, though adding or removing is a compatible change.
More Related questions...