I have remote system with java8 that interacts with another system (hopefully java17) by sending and receiving serialized java dto via network. Every java class have it's own serialVersionUID, but I am uncertain if there will be errors when newer jvm will try to deserialize object that was serialized by significantly older jvm. Or it should be backward compatible?
Clarifying, it's binary serialization done by implementing java.io.Serializable interface.
serialVersionUIDis not a concern in those cases. If you're using Socket API and usingObjectStrems, that would be an issue.