-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
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.
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.