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

Missing propertyChangeSupportSerializedDataVersion field breaks AS7/8 unit tests

XMLWordPrintable

    • b51
    • generic
    • solaris_8

      No such field propertyChangeSupportSerializedDataVersion error deserializing files from AS unit test:

      http://andorra1.sfbay:8080/cgi-bin/ws.exe/bugtraq/bug.hts?bugid_value=4988818

      And here is an evaluation:

      Some of CMP model classes (which are stored by the archiver) have a
      reference to a java.beans.PropertyChangeSupport instance. The
      implementation of PropertyChangeSupport is changed in JDK1.5: they
      removed the field propertyChangeSupportSerializedDataVersion. Since the
      XML file is created with an older version the XML still has the field,
      but the current version of the class does not. Standard serialization
      ignores fields in the serialized object that cannot be found in the
      current class.

            bchristi Brent Christian
            mvatkina Marina Vatkina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: