Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that compliance with this rule, while necessary, is not sufficient to guarantee compatible evolution of serializable classes. For a full discussion of comptabile evolution of serializable classes, see the Java Object Serialization Specification (version 6), Chapter 5: Versioning of Serializable Objects [Sun 2006].

Noncompliant Code Example

...

MITRE CWE

CWE-589. Call to non-ubiquitous API

Bibliography

[API 2006]

 

[Bloch 2008]

Item 74, Implement serialization judiciously

[Harold 2006]

13.7.5, serialPersistentFields

[Sun 2006]

Java Object Serialization Specification

...

Rule 14: Serialization (SER)      Rule 14: Serialization (SER)Image Added      Image Added