[dna-issues] [JBoss JIRA] Updated: (DNA-561) Google Collections API compatibility issues w/ Weld/AS 6
John Ament (JIRA)
jira-events at lists.jboss.org
Sun Nov 29 22:54:29 EST 2009
[ https://jira.jboss.org/jira/browse/DNA-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Ament updated DNA-561:
---------------------------
Attachment: dna-patch-weld.patch
This is the patch I referred to. It probably could use some code review to check imports (only did it in notepad++, didn't feel like buggering around with eclipse). As mentioned, it runs successfully and unit tests are completed.
These were the only two projects I found references to google collections in.
> Google Collections API compatibility issues w/ Weld/AS 6
> --------------------------------------------------------
>
> Key: DNA-561
> URL: https://jira.jboss.org/jira/browse/DNA-561
> Project: DNA
> Issue Type: Bug
> Components: Graph, JCR
> Affects Versions: 0.6
> Environment: Jboss as 6 M1
> Weld 1.0.1 (Trunk)
> DNA 0.7 Snapshot
> Reporter: John Ament
> Priority: Minor
> Fix For: 0.7
>
> Attachments: dna-patch-weld.patch
>
> Original Estimate: 3 minutes
> Remaining Estimate: 3 minutes
>
> DNA is using a google collections api from May 2008. They are currently at 1.0 r 4.
> Weld, part of Java EE 6, also uses google collections, but a newer version, 1.0 r3.
> There are a number of API differences, mainly in how objects are instantiated (many of the methods used by DNA are replaced by create methods in the objects in question). It makes writing an app that uses both DNA and Weld impossible (since both versions of google collections need to be loaded). As a result, I have created a patch that will correct this. Unit tests and functional tests are completed and work as I would expect.
> Setting complexity to medium since it requires changing a library.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list