Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations -----------------------------------------------------------------------------------------------------
Key: BETWIXT-52 URL: http://issues.apache.org/jira/browse/BETWIXT-52 Project: Commons Betwixt Type: Bug Reporter: Holger Haag Attachments: AlphaListHolder.java, TestPolyListHolder.java, betwixt-polylistholder-2006-05-24-svn-patch, poly.zip Referring to the thread http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/200605.mbox/[EMAIL PROTECTED] on the commons-user mailing list: I've created a test case reproducing this issue. First of all I've extended the existing test case TestPolyList: The interface implementations of AlphaOneImpl and AlphaTwoImpl now have attributes which are serialized/deserialized. This is closer to real-world examples. Secondly, there is now a new javabean-like class, AlphaListHolder which holds an instance of AlphaList. The test case TestPolyListHolder tries to do the serialization/deserialization. Serialization works nicely, but reading the XML fails. I'll attach four files: - betwixt-polylistholder-2006-05-24-svn-patch: svn patch for existing files - TestPolyListHolder.java: new test case - AlphaListHolder.java: the holder class - poly.zip: the whole poly package, just in case (the above mentioned three files should be sufficient to patch the SVN trunk) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]