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/07/29 23:18:14 UTC
[jira] Commented: (THRIFT-551) Enumeration doesn't generate real
enum in Java
[ https://issues.apache.org/jira/browse/THRIFT-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736846#action_12736846 ]
Bryan Duxbury commented on THRIFT-551:
--------------------------------------
It looks like this would indeed be a very cool change to make. However it would be a pretty substantial breaking change to existing generated code. What do people think? Should we do this?
> Enumeration doesn't generate real enum in Java
> ----------------------------------------------
>
> Key: THRIFT-551
> URL: https://issues.apache.org/jira/browse/THRIFT-551
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Java)
> Reporter: Sammy Yu
>
> When a enum is specified in the interface file, the code that is generated for Java just creates a empty class with a list of static integer constants, a list of valid values, and a map of values to names. It would be better if the enum is created instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.