[weld-issues] [JBoss JIRA] Commented: (WELD-695) Client proxies should delegate equals and hashCode to the underlying instance

Rogerio Baldini (JIRA) jira-events at lists.jboss.org
Thu Dec 16 11:52:18 EST 2010


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

Rogerio Baldini commented on WELD-695:
--------------------------------------

Guys, the added code in 1.1.0.CR1 version is causing a side efect in classes that override methods hashCode and equals. 
In my case, I am trying to produce a javax.ws.rs.core.MediaType and I am getting this error:

Caused by: javassist.bytecode.DuplicateMemberException: duplicate method: hashCode in org.jboss.weldx.ws.rs.core.org$jboss$weld$beanProducerMethod-com$powerlogic$jcompany$service$extensao$jaxrs$PlcJAXRSContextProducersmethod_getMediaType(javax$ws$rs$core$HttpHeaders)_$$_WeldClientProxy
Thanks.

> Client proxies should delegate equals and hashCode to the underlying instance
> -----------------------------------------------------------------------------
>
>                 Key: WELD-695
>                 URL: https://issues.jboss.org/browse/WELD-695
>             Project: Weld
>          Issue Type: Bug
>          Components: Proxies
>    Affects Versions: 1.1.0.Beta1
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>             Fix For: 1.1.0.CR1
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list