[
https://issues.apache.org/jira/browse/AVRO-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751615#comment-13751615
]
Doug Cutting commented on AVRO-1368:
------------------------------------
We shouldn't call SpecificData.get() when a SpecificData instance is available.
We should probably deprecate that method and folks should just call 'new
SpecificData()' instead for defaults. SpecificData, ReflectData, & GenericData
used to be singletons, but now they have constructors for different
classloaders, etc. so often the singleton is the wrong instance. Perhaps we
should add a SpecificDatumWriter#getSpecificData() method?
> String schema accepts any Java object, and converts it with toString()
> ----------------------------------------------------------------------
>
> Key: AVRO-1368
> URL: https://issues.apache.org/jira/browse/AVRO-1368
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.7.5
> Reporter: Christophe Taton
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira