[weld-issues] [JBoss JIRA] Commented: (WELD-309) Alter equality for AnnotatedType so you can have >1 AnnotatedType for

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue Dec 8 03:43:29 EST 2009

    [ https://jira.jboss.org/jira/browse/WELD-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12498736#action_12498736 ] 

Stuart Douglas commented on WELD-309:

True, really what we need is some kind of unique id string for RIBean, that contains all the methods, fields etc and associated annotations, which would result in a rather long bean id (not sure if this would cause a problem?). 

I see what you mean about the equality on AnnotatedType, it does not even check the type of item so a WeldMethod can be equal to a WeldClass if they have the same annotations. I think that this can be solved using the same approach, I will experiment and try an get a patch ready for review in the next two days.

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