commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36831] New: - Java 5 Generic List: Cannot make betwixt work properly
Date Tue, 27 Sep 2005 18:28:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36831

           Summary: Java 5 Generic List: Cannot make betwixt work properly
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Betwixt
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: java@herr-der-mails.de


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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