[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avro-dev
Subject:    [jira] [Commented] (AVRO-1814) 1.8 IDL generator broken when containing a field called 'org'
From:       "Ryan Blue (JIRA)" <jira () apache ! org>
Date:       2016-04-28 15:49:13
Message-ID: JIRA.12951347.1458250922000.60371.1461858553000 () Atlassian ! JIRA
[Download RAW message or body]


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

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

+1. Thanks for fixing this!

> 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, AVRO-1814-20160428.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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic