You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enum constants are serialized differently than ordinary serializable or externalizable objects. The serialized form of an enum constant consists solely of its name; field values of the constant are not present in the form....
Similarly, any serialPersistentFields or serialVersionUID field declarations are also ignored--all enum types have a fixed serialVersionUID of 0L.
The text was updated successfully, but these errors were encountered:
If you add a value to an Enum japicmp will report:
According to the serialization spec (http://docs.oracle.com/javase/8/docs/platform/serialization/spec/serial-arch.html#a6469) the serialization of Enums is a special case and does not leverage the serialVersionUID:
The text was updated successfully, but these errors were encountered: