[
https://issues.apache.org/jira/browse/THRIFT-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741920#action_12741920
]
Mark McBride commented on THRIFT-551:
-------------------------------------
I'd like to see this added. The generated thrift Java interfaces aren't really
clear that some ints are actually enums. Maybe add it is an optional flag?
> 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.