[ 
http://issues.apache.org/jira/browse/TUSCANY-947?page=comments#action_12452034 
] 
            
Jim Marino commented on TUSCANY-947:
------------------------------------

This would be a straightforward fix for someone interested in working on a 
patch :-). This is already implemented in JDKInboundInvocationHandler so code 
could be taken from there. Also, there are unit tests which verify toString() 
and hashCode() in JDKInboundInvocationHandlerTestCase.

> JDKCallbackInvocationHandler should handle toString(), hashCode(), equals() 
> specially
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-947
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-947
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>    Affects Versions: Java-M2
>         Environment: M2
>            Reporter: Scott Kurz
>
> Since JDKCallbackInvocationHandler doesn't handle toString() specially, if 
> the dynamic $Proxy toString() gets called before the invoke of a service 
> operation it will mess up the correlationId, etc.. by nulling them out..
> The other InvocationHandler classes in Tuscany do special-case these methods.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to