[ http://issues.apache.org/jira/browse/BETWIXT-1?page=comments#action_12413082 ]
Holger Haag commented on BETWIXT-1: ----------------------------------- http://issues.apache.org/jira/browse/BETWIXT-51 holds more the same test cases, but these test cases better fit into the latest betwixt trunk (regarding naming conventions etc.) > [betwixt] Java 5 Generic List: Cannot make betwixt work properly > ---------------------------------------------------------------- > > Key: BETWIXT-1 > URL: http://issues.apache.org/jira/browse/BETWIXT-1 > Project: Commons Betwixt > Type: Bug > Environment: Operating System: Windows XP > Platform: Other > Reporter: Holger Haag > Attachments: 36831-initial-junit.zip, 36831-non-generic-list.zip, > betwixt-generics-working-sample.zip > > Hello, > I cannot make betwixt work for a set of classes using Java 5 Generics (public > class GenericItemList extends ArrayList<GenericItem>). A similar set of > classes > using a non-generic list is working nicely. > I've got a junit test case which reproduces the problem for me. The test case > converts a class to xml and tries to parse it back. Converting to XML is > working > fine, but the parsing isn't. > I'll attach the following files: > - GenericItemListHolderTest.java - the junit test which fails > - GenericItem.java, GenericItem.betwixt - java+betwixt file for one item in > the list > - GenericItemList.java, GenericItemList.betwixt - java+betwixt file for a > java 5 > style list using generic > - GenericItemListHolder.java, GenericItemListHolder.betwixt - java+betwixt > file > for a class which "holds" an instance of GenericItemList. > Steps to reproduce the problem: Run the junit test case > "GenericItemListHolderTest". > Thank you very much in advance for your help. > Rgds > Holger -- 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]
