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

ASF GitHub Bot commented on AVRO-1814:
--------------------------------------

GitHub user nielsbasjes opened a pull request:

    https://github.com/apache/avro/pull/80

    AVRO-1814: Fixed name collision between field names and toplevel package 
names

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nielsbasjes/avro AVRO-1814

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/avro/pull/80.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #80
    
----
commit 960e0fdb011ab84a0ea0072fe0e46fb78a902793
Author: Niels Basjes <[email protected]>
Date:   2016-03-25T15:58:57Z

    AVRO-1814: Fixed name collision between field names and toplevel package 
names

----


> 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
>
> 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)

Reply via email to