XStream
  1. XStream
  2. XSTR-755

Externalizable and readResolve/writeReplace

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.7
    • Fix Version/s: 1.4.8
    • Component/s: Core
    • Labels:
      None
    • JDK version and platform:
      1.7.0_51 for Windows

      Description

      XStream does not invoke readResolve nor writeReplace when an object that is being serialized/deserialized is Externalizable. Although this looks like a minor issue given that no one has complained yet, for the future it would be nice to bring XStream into a behavior consistent with Java default serialization on this issue. Attached is a Java file which demonstrates the issue. Thank you kindly.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Derek Trumbo
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: