|
||||||||||||||
|
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:

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.