You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Kevin Zhao (Commented) (JIRA)" <ji...@apache.org> on 2012/04/17 11:03:29 UTC

[jira] [Commented] (AVRO-1056) ReflectData thinks the instance of a java.util.Map as a record type

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

Kevin Zhao commented on AVRO-1056:
----------------------------------

request for code reviewing~ 
                
> ReflectData thinks the instance of a java.util.Map as a record type
> -------------------------------------------------------------------
>
>                 Key: AVRO-1056
>                 URL: https://issues.apache.org/jira/browse/AVRO-1056
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.6.3
>         Environment: MacOSX 10.7.2
> Eclipse 3.7
> JDK1.6
>            Reporter: Kevin Zhao
>             Fix For: 1.6.3
>
>         Attachments: ReflectData.java.patch
>
>
> the avro's java api org.apache.avro.reflect.ReflectData.isRecord() should add the following code.
>   if (datum instanceof Map) return false;

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