[ https://issues.apache.org/jira/browse/THRIFT-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777701#action_12777701 ]
Bryan Duxbury commented on THRIFT-551: -------------------------------------- Compact Protocol uses its own internal enumeration for encoding types on the wire. The ENUM addition to TType is essentially just for the metaDataMap changes. > 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.