Announcement Announcement Module
Collapse
No announcement yet.
httpInvoker and toString() Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • httpInvoker and toString()

    Just started to use httpinvoker and I noticed that when anyone calls toString() on the proxy created by HttpInvokerProxyFactoryBean, the call to toString() is remoted. It's probably this way for hashCode and equals as well. Is this really desireable?

    - Andy

  • #2
    Thanks for spotting this - this is clearly not desirable. It just happens for HTTP invoker and RMI invoker, BTW, not for the other remoting strategies (and just for toString and hashCode).

    I've just fixed HttpInvokerClientInterceptor and RmiClientInterceptor accordingly, to handle toString locally. Furthermore, JdkDynamicAopProxy handles hashCode locally too now, not just equals.

    Juergen

    Comment

    Working...
    X