: [to] serialVersionUID... .
, . serialVersionUID , , "" " ". serialVersionUID - , , , .
And your proposed solution will not work. "Skipping instances of deserializing old versions of class [a] is not a solution. Serialization has already rejected it with the exception, if you serialVersionUIDsdonβt agree. Everything you do after that is already too late.
This seems like an XY issue. You want to make X, you think Y is the answer, so you ask about Y when you should ask about X. For the right solution, see Above.
source
share