You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Philip Zeyliger (JIRA)" <ji...@apache.org> on 2009/11/20 06:00:39 UTC
[jira] Updated: (AVRO-221) Mangle conflicting names in generated
code for Java
[ https://issues.apache.org/jira/browse/AVRO-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philip Zeyliger updated AVRO-221:
---------------------------------
Attachment: AVRO-221.patch.txt
Here's an attempt at this. This doesn't support evil things, like schemas with both "finally_" and "finally", but it does generate what ought to be valid code.
Really, the tests ought to compile (using javac from tools.jar, say), but this patch doesn't do that.
> Mangle conflicting names in generated code for Java
> ---------------------------------------------------
>
> Key: AVRO-221
> URL: https://issues.apache.org/jira/browse/AVRO-221
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Philip Zeyliger
> Assignee: Philip Zeyliger
> Attachments: AVRO-221.patch.txt
>
>
> Generated Java code should support fields that conflict with Java reserved words.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.