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

'.' allowed at end of identifier generates non-compilable code

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9.1
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The following IDL:

      void zip() throws (1: FirstException first. 2: SecondException second)
      

      compiles and generates a file, but the resulting Java code is not proper because it will refer to a field "first." instead of just "first".

        Attachments

        1. 1995-v2.patch
          2 kB
          Carl Yeksigian
        2. 1995.patch
          2 kB
          Carl Yeksigian

          Activity

            People

            • Assignee:
              carlyeks Carl Yeksigian
              Reporter:
              carlyeks Carl Yeksigian
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: