You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2009/03/11 17:36:50 UTC
[jira] Updated: (THRIFT-364) Use of enums in other namespaces
breaks java generated code
[ https://issues.apache.org/jira/browse/THRIFT-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury updated THRIFT-364:
---------------------------------
Attachment: thrift-364.patch
This patch fixes the problem in my generated code. If nobody objects, I'll commit it.
> Use of enums in other namespaces breaks java generated code
> -----------------------------------------------------------
>
> Key: THRIFT-364
> URL: https://issues.apache.org/jira/browse/THRIFT-364
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Java)
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Attachments: thrift-364.patch
>
>
> The current Java code generator assumes that all enumerated types you might use in your structs are in the current namespace, which could be incorrect. We should prefix the namespace if is different than the current one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.