MutableAttrListImpl is Serializable but super class isn't, which will cause
problems, if serialized.
----------------------------------------------------------------------------------------------------
Key: XALANJ-2421
URL: https://issues.apache.org/jira/browse/XALANJ-2421
Project: XalanJ2
Issue Type: Bug
Components: Serialization
Affects Versions: 2.7.1
Reporter: Dave Brosius
Priority: Minor
Fix For: 2.7.1
Attachments: MutableAttrListImplTest.java
MutableAttrListImpl is marked as Serializable, yet it's super class
AttributesImpl, is not.
Therefore when/if an instance of MutableAttrListImpl is serialized, the member
fields in AttributesImpl will be lost.
Either AttributesImpl needs to be marked Serializable, or MutableAttrListImpl
will need to implement readObject/writeObject to retain the super class fields.
See unit test attached to see problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]