[ 
https://issues.apache.org/jira/browse/AVRO-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852963#action_12852963
 ] 

Doug Cutting commented on AVRO-499:
-----------------------------------

The simplest fix would be to detect this situation and produce an error.

A better fix might be to generate different message names for the different 
parameter lists.


> reflection does not handle interfaces with overloaded method names
> ------------------------------------------------------------------
>
>                 Key: AVRO-499
>                 URL: https://issues.apache.org/jira/browse/AVRO-499
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.2
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>
> Avro protocols only permit a single message with a given name, while Java 
> interfaces may overload a single method name with several signatures.  The 
> reflect implementation currently does not address this.  Reflection of an 
> interface with overloaded method names randomly selects one of these and 
> ignores the others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to