thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4239) Latest thrift breaks java build with handleRuntimeExceptions
Date Mon, 03 Jul 2017 18:22:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072798#comment-16072798
] 

Christopher Tubbs commented on THRIFT-4239:
-------------------------------------------

Oh, nm, I see you specified in the ticket (Oracle JDK 1.8 on Ubuntu 16.04). I could try to
reproduce if you share your code, [~emmenlau].

> Latest thrift breaks java build with handleRuntimeExceptions
> ------------------------------------------------------------
>
>                 Key: THRIFT-4239
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4239
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>    Affects Versions: 0.11.0
>         Environment: Ubuntu 16.04 LTS with Oracle Java 1.8 JDK
>            Reporter: Mario Emmenlauer
>
> 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:
> {code}
> -      @Override
> -      protected boolean handleRuntimeExceptions() {
> -        return false;
> -      }
> {code}
> With thrift 0.10.0 the method handleRuntimeExceptions (and the error) are not present.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message