[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1257) default equals() on javabean components is not reflexive
Max Andersen (JIRA)
jira-events at lists.jboss.org
Thu Apr 26 18:04:30 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1257?page=comments#action_12360647 ]
Max Andersen commented on JBSEAM-1257:
--------------------------------------
componentproxy.equals(component) is doable; but component.equals(componentproxy) is not without bytecode weaving (and then the proxy probably wouldn't be needed anyway) since the component instance is not interceptable - that is what the proxy does.
> default equals() on javabean components is not reflexive
> --------------------------------------------------------
>
> Key: JBSEAM-1257
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1257
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.1.GA
> Reporter: Matt Drees
> Assigned To: Gavin King
>
> If a javabean component doesn't override equals(), the javassist proxy generated for it has a nonreflexive equals method. I.e., component.equals(component) returns false.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list