Joerg Schaible resolved Bug XSTR-706 as Not A Bug

Sorry, but this is how implicit collections work. Since the container itself has no representation anymore in XML, XStream cannot know, if the container was empty or null before serialization. Actually, since no element of the container is in the XML, XStream not even knows at deserialization time that there might be one. You may implement a readObject or readResolve method (see Java serialization) to initialize the container after deserialization, if it is null.

Change By: Joerg Schaible (04/Oct/12 1:06 PM)
Resolution: Not A Bug
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to