You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/09/25 20:04:16 UTC
[jira] Commented: (AVRO-123) int argument types in protocol
messages cause NoSuchMethodException
[ https://issues.apache.org/jira/browse/AVRO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759666#action_12759666 ]
Patrick Hunt commented on AVRO-123:
-----------------------------------
Q: seems to be alot of boxing/unboxing going on (see my calc example that I added to the test). Why isn't this just int type in the generated interface/code?
> int argument types in protocol messages cause NoSuchMethodException
> -------------------------------------------------------------------
>
> Key: AVRO-123
> URL: https://issues.apache.org/jira/browse/AVRO-123
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.1.0
> Reporter: Patrick Hunt
> Priority: Blocker
> Attachments: AVRO-123.patch, AVRO-123.patch
>
>
> See attached patch for a test that reproduces:
> [junit] org.apache.avro.AvroRuntimeException: java.lang.NoSuchMethodException: org.apache.avro.TestProtocolSpecific$TestImpl.add(int, int)
> [junit] at org.apache.avro.reflect.ReflectResponder.respond(ReflectResponder.java:100)
> [junit] at org.apache.avro.ipc.Responder.respond(Responder.java:117)
> [junit] at org.apache.avro.ipc.DatagramServer.run(DatagramServer.java:60)
> [junit] Caused by: java.lang.NoSuchMethodException: org.apache.avro.TestProtocolSpecific$TestImpl.add(int, int)
> [junit] at java.lang.Class.getMethod(Class.java:1605)
> [junit] at org.apache.avro.reflect.ReflectResponder.respond(ReflectResponder.java:90)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.