[weld-issues] [JBoss JIRA] Created: (WELD-335) RIBean needs new definition of equality
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Tue Dec 8 23:20:29 EST 2009
RIBean needs new definition of equality
Issue Type: Bug
Components: Built-in beans
Reporter: Stuart Douglas
Due to the implementation of equals/hashCode in RIBean only one ManagedBean is allowed per underlying java class, so for example if you use the SPI to add two AnnotatedTypes with the same underlying class but different qualifiers only one will get installed.
The following patch fixes this, would it be possible to get some feedback on it?
The AnnotatedTypeIdProvider class in the patch can also be used to implement meaningful equlity for WeldAnnotated*
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