[
https://issues.apache.org/jira/browse/THRIFT-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779283#action_12779283
]
David Reiss commented on THRIFT-551:
------------------------------------
Eventually, it might make sense to split TType into one enum that is used
internally for type tags and another one that is used for the metaDataMap for
application code consumption. Overloading the one enum seems a little
dangerous.
> 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
> Assignee: Bryan Duxbury
> Attachments: thrift-551.patch
>
>
> 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.