[
https://issues.apache.org/jira/browse/AVRO-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262962#comment-15262962
]
ASF subversion and git services commented on AVRO-1814:
-------------------------------------------------------
Commit 4cac7c8980791856c3fb7d3377d249cf8dd44b86 in avro's branch
refs/heads/master from [~nielsbasjes]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=4cac7c8 ]
AVRO-1814: Generated java code fails on variables with a TLD name like 'org'
> Generated java code fails on variables with a TLD name like '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)