[ https://issues.apache.org/jira/browse/AVRO-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114480#comment-14114480 ]
Doug Cutting commented on AVRO-1502: ------------------------------------ Rob, great question! Utf8 we can fix easily. ByteBuffer is harder. We'd need to switch to using a wrapper or byte[] for bytes schemas in generated code. For GenericData.Array we could add a SpecificDatumReader#readArray() implementation that uses an ArrayList rather than a GenericData.Array. This would prevent the reuse of items in the array that GenericData.Array permits. I don't know how big of a loss that would be... > Avro objects should implement Serializable > ------------------------------------------ > > Key: AVRO-1502 > URL: https://issues.apache.org/jira/browse/AVRO-1502 > Project: Avro > Issue Type: New Feature > Components: java > Reporter: Jeff Hammerbacher > Assignee: Doug Cutting > Fix For: 1.8.0 > > Attachments: AVRO-1502.patch > > -- This message was sent by Atlassian JIRA (v6.2#6252)