[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
Mon Dec 7 07:35:35 EST 2009


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

Pete Muir commented on WELD-309:
--------------------------------

Yes, this is part of it, but we also need to remove the equality/hashCode on annotated type.

You can possibly solve the built in bean problem by adding a synthetic suffix to the id if bean already exists with the given id, however this will mean that there is not a consistent identifier for these beans across replication. This needs further thought...

I'm not convinced about adding the annotations to the id, this seems to just reduce the problem, rather than remove it.

> 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