Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-551

Enumeration doesn't generate real enum in Java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2
    • Java - Compiler
    • None

    Description

      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.

      Attachments

        1. thrift-551.patch
          18 kB
          Bryan Duxbury

        Activity

          People

            bryanduxbury Bryan Duxbury
            sammy.yu Sammy Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: