[
https://issues.apache.org/jira/browse/AVRO-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158800#comment-14158800
]
Hudson commented on AVRO-1591:
------------------------------
SUCCESS: Integrated in AvroJava #485 (See
[https://builds.apache.org/job/AvroJava/485/])
AVRO-1591. Java: Fix specific RPC so that proxies implement hashCode(),
equals() and toString(). Contributed by Mark Spadoni. (cutting: rev 1629342)
* /avro/trunk/CHANGES.txt
*
/avro/trunk/lang/java/ipc/src/main/java/org/apache/avro/ipc/specific/SpecificRequestor.java
* /avro/trunk/lang/java/ipc/src/test/java/org/apache/avro/ipc/specific
*
/avro/trunk/lang/java/ipc/src/test/java/org/apache/avro/ipc/specific/TestSpecificRequestor.java
> Java - handle hashCode / equals / toString in SpecificRequestor
> ---------------------------------------------------------------
>
> Key: AVRO-1591
> URL: https://issues.apache.org/jira/browse/AVRO-1591
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Mark Spadoni
> Assignee: Mark Spadoni
> Fix For: 1.8.0
>
> Attachments: AVRO-1591.patch
>
>
> SpecificRequestor does not handle hashCode / equals / toString in its invoke
> method. This problem cropped up when using commons-pool2's
> GenericKeyedObjectPool.create(), which attempts to put pool object wrappers
> into a map, keying off the original object:
> objectDeque.getAllObjects().put(p.getObject(), p);
> The put calls hashCode() which is not handled, resulting in an
> AvroRemoteException.
> See proposed patch for details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)