avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-221) Mangle conflicting names in generated code for Java
Date Fri, 20 Nov 2009 05:00:39 GMT

     [ 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.

View raw message