hacksong / jsonrpc4j

Automatically exported from code.google.com/p/jsonrpc4j
0 stars 0 forks source link

[PATCH] Calling proxy.{toString,equals,hashCode} causes RPC call #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create service proxy with ProxyUtil.createClientProxy
2. Call toString(), equals(...), or hashCode() on the proxy object.

What is the expected output? What do you see instead?

Expected: Call should be handled locally.
Actual: An RPC call is sent.

What version of the product are you using? On what operating system?

Version 0.27, JDK 1.7 (64 bit), Windows 7 (64 bit)

Please provide any additional information below.

Patch is attached.

Contents:

* Fix & test case for ProxyUtil 
* Fix & test case for JsonProxyFactoryBean

Original issue reported on code.google.com by rbachm@gmail.com on 19 Feb 2013 at 7:10

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, will add to the next release

Original comment by brian.di...@gmail.com on 25 Feb 2013 at 5:56

GoogleCodeExporter commented 9 years ago
fixed, addressed in next release.

Original comment by brian.di...@gmail.com on 24 Mar 2013 at 8:08