Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4070080

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.1.5
    • 1.1.4, 1.2.0
    • 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.

            jfialli Joe Fialli
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: