avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1056) ReflectData thinks the instance of a java.util.Map as a record type
Date Thu, 17 May 2012 21:19:06 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated AVRO-1056:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I committed this.
                
> 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
>            Assignee: Kevin Zhao
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1056.patch, 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

        

Mime
View raw message