Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.1
    • Fix Version/s: 0.7
    • Component/s: Java - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The Thrift Java compiler creates code that is not compliant with Java 5.

      One issue is the @Override annotation on the clear() method.
      The other issue is creating a IOException with a TException as a parameter in writeObject and readObject.

      The attached patch creates a new option for the compiler, java5, which outputs java 5 compliant code.

      1. java5_trunk.patch
        1 kB
        Greg Moulliet
      2. java5.patch
        2 kB
        Greg Moulliet

        Activity

        Bryan Duxbury made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Greg Moulliet [ gmoulliet ]
        Fix Version/s 0.7 [ 12315360 ]
        Resolution Fixed [ 1 ]
        Greg Moulliet made changes -
        Attachment java5_trunk.patch [ 12479512 ]
        Greg Moulliet made changes -
        Field Original Value New Value
        Attachment java5.patch [ 12479138 ]
        Greg Moulliet created issue -

          People

          • Assignee:
            Greg Moulliet
            Reporter:
            Greg Moulliet
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development