commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Haag (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BETWIXT-52) Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations
Date Wed, 24 May 2006 08:15:32 GMT
     [ http://issues.apache.org/jira/browse/BETWIXT-52?page=all ]

Holger Haag updated BETWIXT-52:
-------------------------------

    Attachment: poly.zip

> 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/%3c18230.1147350149@www099.gmx.net%3e
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message