You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2012/05/16 23:19:10 UTC
[jira] [Updated] (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:all-tabpanel ]
Doug Cutting updated AVRO-1056:
-------------------------------
Attachment: AVRO-1056.patch
Here's a version of the patch that includes a test.
I'll commit this soon unless someone objects.
> 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