[weld-issues] [JBoss JIRA] Commented: (WELD-309) Alter equality for AnnotatedType so you can have >1 AnnotatedType for
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Jan 28 07:57:19 EST 2010
[ https://jira.jboss.org/jira/browse/WELD-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12508975#action_12508975 ]
Pete Muir commented on WELD-309:
--------------------------------
The patch is good enough to use as a workaround, but I would prefer to investigate if it is possible to switch to using object equality is possible. Off the top of my head, I believe it is (it will require a couple of assumptions to be fixed I guess), but as we cache loaded WeldClass's by underlying class and by AnnotatedType, I think we will always use the correct object and hence this should be sufficient.
I will apply this patch in a bit and run the full suite.
> Alter equality for AnnotatedType so you can have >1 AnnotatedType for
> ----------------------------------------------------------------------
>
> Key: WELD-309
> URL: https://jira.jboss.org/jira/browse/WELD-309
> Project: Weld
> Issue Type: Bug
> Components: Reflection layer
> Reporter: Pete Muir
> Assignee: Stuart Douglas
> Fix For: 1.0.1.CR1
>
> Attachments: annotatedTypeId.diff
>
>
> Currently we use the underlying class to perform equality, this is wrong.
--
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 weld-issues
mailing list