[ 
https://issues.apache.org/jira/browse/AVRO-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975941#action_12975941
 ] 

Jeff Hammerbacher commented on AVRO-720:
----------------------------------------

I get a build failure:

{quote}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/Users/hammer/codebox/avro-trunk/lang/java/ipc/src/main/java/org/apache/avro/ipc/trace/Util.java:[112,15]
 cannot find symbol
symbol  : method add(org.apache.avro.ipc.trace.TimestampedEvent)
location: interface java.util.List<capture#611 of ? extends 
org.apache.avro.ipc.trace.TimestampedEvent>

/Users/hammer/codebox/avro-trunk/lang/java/ipc/src/main/java/org/apache/avro/ipc/trace/SpanAggregator.java:[115,22]
 cannot find symbol
symbol  : method add(org.apache.avro.ipc.trace.TimestampedEvent)
location: interface java.util.List<capture#551 of ? extends 
org.apache.avro.ipc.trace.TimestampedEvent>
{quote}

> 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
>            Assignee: Doug Cutting
>             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.

Reply via email to