[ https://issues.apache.org/jira/browse/HADOOP-7694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116920#comment-13116920 ]
Aaron T. Myers commented on HADOOP-7694: ---------------------------------------- We might consider either special casing calls to {{toString}}, since it is probably the most likely non-interface method to be called, or doing something to transparently pass through invocations to the underlying object if the method isn't declared as part of the interface which is implemented by this RPC proxy. > Calling toString() on an RPC proxy object backed by WritableRpcEngine fails > --------------------------------------------------------------------------- > > Key: HADOOP-7694 > URL: https://issues.apache.org/jira/browse/HADOOP-7694 > Project: Hadoop Common > Issue Type: Bug > Components: ipc > Affects Versions: 0.24.0 > Reporter: Aaron T. Myers > Priority: Minor > > Calling {{toString}} (or any method not declared as part of the implemented > RPC interface) on a proxy object backed by {{WritableRpcEngine}} will fail. > This is because the declaring class's ({{Object}}'s) {{versionID}} field is > checked using reflection, which obviously doesn't exist in the case of > {{Object}}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira