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

Latest thrift breaks java build with handleRuntimeExceptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: None
    • Component/s: Java - Compiler
    • Labels:
      None
    • Environment:

      Ubuntu 16.04 LTS with Oracle Java 1.8 JDK

      Description

      With the latest trunk I can no longer build my Java thrift example. I get an error that handleRuntimeExceptions does not Override. It seems related to these new additions in the generated Java code:

      -      @Override
      -      protected boolean handleRuntimeExceptions() {
      -        return false;
      -      }
      

      With thrift 0.10.0 the method handleRuntimeExceptions (and the error) are not present.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              emmenlau Mario Emmenlauer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: