avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Blue (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1814) 1.8 IDL generator broken when containing a field called 'org'
Date Mon, 25 Apr 2016 16:19:12 GMT

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

Ryan Blue commented on AVRO-1814:
---------------------------------

Looks mostly good to me. But why change the test that was using the namespace "org.apache..."?

> 1.8 IDL generator broken when containing a field called 'org'
> -------------------------------------------------------------
>
>                 Key: AVRO-1814
>                 URL: https://issues.apache.org/jira/browse/AVRO-1814
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.8.0
>            Reporter: Dustin Spicuzza
>            Assignee: Niels Basjes
>         Attachments: AVRO-1814-20160410.patch
>
>
> The problem is in the generated 'readExternal' and 'writeExternal' functions, because
they do something like:
> WRITER$.write(this, org.apache.avro.specific.SpecificData.getEncoder(out));
> When a member variable called 'org' exists, then the compile fails because the compiler
thinks that 'org' is a member variable and that 'apache cannot be resolved or is not a field'.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message