Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated citations, bibl.

...

As a result, developers need neither maintain the earlier version of the code nor explicitly support the original serialized form.

Wiki Markup
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|AA. References#Sun 06]\].

Noncompliant Code Example

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6dc9cfa74d51d0bc-26a388d5-47674bb0-80009e43-40908c6b2d746fa30072e36c"><ac:plain-text-body><![CDATA[

[[API 2006

AA. References#API 06]]

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="728ce9251f361e87-fce997b6-4e0b44d3-a5948b6d-1edb1c02f3ddf20d8a1b1b10"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. References#Bloch 08]]

Item 74, Implement serialization judiciously

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2c0134b2590aed39-3e6eccde-43d14585-9b8a8784-35875a94ce8191f67a05f9c2"><ac:plain-text-body><![CDATA[

[[Harold 2006

AA. References#Harold 06]]

13.7.5, serialPersistentFields

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e217fdc43dd6c224-291297af-4a694900-bd8582ea-5ffe2d7a80c0700068a57cd6"><ac:plain-text-body><![CDATA[

[[Sun 2006

AA. References#Sun 06]]

Java Object Serialization Specification , 1.5, Defining Serializable Fields for a Class, and 1.7, Accessing Serializable Fields of a Class

]]></ac:plain-text-body></ac:structured-macro>

...