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 2010/12/29 22:51:46 UTC

[jira] Updated: (AVRO-720) Generated code for arrays should accept extensions of array content type

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

Doug Cutting updated AVRO-720:
------------------------------

    Attachment: AVRO-720.patch

Jeff, does this do the trick for you?

> Generated code for arrays should accept extensions of array content type
> ------------------------------------------------------------------------
>
>                 Key: AVRO-720
>                 URL: https://issues.apache.org/jira/browse/AVRO-720
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Jeff Hammerbacher
>             Fix For: 1.5.0
>
>         Attachments: AVRO-720.patch
>
>
> Discovered when I upgraded a server from 1.3 to 1.4: trying to stuff a GenericData.Array<Utf8> object into a List<CharSequence> does not work; Avro should generate List<? implements CharSequence> instead. The same holds for other array types.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.