Evolved class with new superclass incompatibile with original class in jdk1.1.x

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.1.5
    • Affects Version/s: 1.1.4, 1.2.0
    • Component/s: core-libs
    • None
    • 1.1.5
    • generic, sparc
    • generic, solaris_2.5.1
    • Verified


      In jdk1.1.x, when a Serializable class is evolved to have a new Serializable superclass, this evolved class is no longer bidirectionally compatible with the original class.

      Specifically, when the original class tries to read an object serialized by
      the evolved class, a core dump occurs. The evolved class does not have trouble
      reading an object that has been written by the original class.

      In jdk1.2, it works fine.

            Assignee:
            Joe Fialli (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: