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

Doug Cutting commented on AVRO-104:
-----------------------------------

> The problem is with the static getClient methods of ReflectRequestor, 
> ReflectResponder and SpecificRequestor, which do a static call to ReflectData 
> themselves.

Folks can easily avoid those methods by calling Proxy.newProxyInstance 
themselves, or we could add a new version of getClient() that accepts a 
ReflectData implementation.

> Btw, ReflectData#validate is nowhere used nor tested in the Avro code base. 
> Is this a forgotten method (code rot), or does it just need a test case? 

Somewhere between.  We should probably add a test.  Can you think of cases 
where it'd be handy to have?

> Reflective API can't handle nulls
> ---------------------------------
>
>                 Key: AVRO-104
>                 URL: https://issues.apache.org/jira/browse/AVRO-104
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Eelco Hillenius
>             Fix For: 1.0.1
>
>         Attachments: AVRO-104.patch, AVRO-104.patch, AVRO-104.patch, 
> AVRO-104.patch, AVRO-104.patch
>
>
> It is currently not possible to have fields with null values when using the 
> reflective API.

-- 
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