[ https://issues.apache.org/jira/browse/THRIFT-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071377#comment-16071377 ]
Mario Emmenlauer commented on THRIFT-4239: ------------------------------------------ Thanks a lot [~jensg]. Does it help if I share my code? I'm using just a minor rewrite of the simple java Thrift example. If I'm not completely mistaken, I get one {noformat}@Override protected boolean handleRuntimeExceptions() { } {noformat} for every function that can throw an exception, is that reasonable? Is this issue really specific to me, or can someone reproduce the problem? > 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)