[
https://issues.apache.org/jira/browse/THRIFT-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805221#action_12805221
]
Andrei Dragomir commented on THRIFT-693:
----------------------------------------
Would it be useful to look at making a thrift compiler patch that removes these
methods from the generated code then ?
(Explanation: we set up out automatic build system to fail the build when there
are javac warnings, and this is playing havoc with our builds)
> Thrift compiler generated java code that throws compiler warnings about
> deprecated methods.
> --------------------------------------------------------------------------------------------
>
> Key: THRIFT-693
> URL: https://issues.apache.org/jira/browse/THRIFT-693
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (C++), Library (Java)
> Affects Versions: 0.2
> Reporter: Andrei Dragomir
>
> Installed release thrift-0.2.0. The compiler generates java code with the
> methods setFieldValue, getFieldValue and isSet. However, in the TBase
> interface, these methods are marked as deprecated. This throws java compiler
> warnings when compiling the thrift generated library code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.