You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dave Brosius (JIRA)" <xa...@xml.apache.org> on 2008/01/09 06:23:33 UTC
[jira] Created: (XALANJ-2421) MutableAttrListImpl is Serializable
but super class isn't, which will cause problems, if serialized.
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org