You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/23 15:13:00 UTC
[jira] [Commented] (AVRO-2571) avro-maven-plugin not escaping
"public" keyword in namespace
[ https://issues.apache.org/jira/browse/AVRO-2571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163677#comment-17163677 ]
ASF subversion and git services commented on AVRO-2571:
-------------------------------------------------------
Commit 0394e1772e78d9b726bd015c9d02b146a1abaee0 in avro's branch refs/heads/master from Henrique Mota
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=0394e17 ]
[AVRO-2571] avro-maven-plugin not escaping "public" keyword in namespace (#844)
* [AVRO-2571] escape reserved java keywords in packages
* using mangle to scape namespace
* Revert "using mangle to scape namespace"
This reverts commit eb788cc4
* AVRO-2571: using mangle to scape namespace
* AVRO-2571: removing inport org.apache.commons.lang3.StringUtils
* AVRO-2571: fix NullPointer error
> avro-maven-plugin not escaping "public" keyword in namespace
> ------------------------------------------------------------
>
> Key: AVRO-2571
> URL: https://issues.apache.org/jira/browse/AVRO-2571
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.9.0
> Reporter: Daniel Shuy
> Priority: Major
>
> If the avro schema namespace contains the word *public*, the generated Java source file will fail to compile, because *public* is a reserved keyword in Java.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)