Jens-G commented on pull request #2254:
URL: https://github.com/apache/thrift/pull/2254#issuecomment-703309412


   make[3]: Entering directory '/thrift/src/lib/java'
   ./gradlew  assemble \
        -Prelease=true \
        -Pthrift.version=0.14.0 \
        --console=plain
   > Task :copyDependencies
   
   > Task :compileJava
   /thrift/src/lib/java/src/org/apache/thrift/transport/THttpClient.java:39: 
warning: [deprecation] CoreConnectionPNames in org.apache.http.params has been 
deprecated
   import org.apache.http.params.CoreConnectionPNames;
                                ^
   
/thrift/src/lib/java/src/org/apache/thrift/transport/TNonblockingTransport.java:52:
 error: write(ByteBuffer) in TNonblockingTransport cannot override 
write(ByteBuffer) in TTransport
     public abstract int write(ByteBuffer buffer) throws IOException;
                         ^
     return type int is not compatible with void
   
/thrift/src/lib/java/src/org/apache/thrift/transport/TNonblockingSocket.java:170:
 error: write(ByteBuffer) in TNonblockingSocket cannot override 
write(ByteBuffer) in TTransport
     public int write(ByteBuffer buffer) throws IOException {
                ^
     return type int is not compatible with void
   /thrift/src/lib/java/src/org/apache/thrift/meta_data/FieldMetaData.java:61: 
warning: [deprecation] newInstance() in Class has been deprecated
           sClass.newInstance();
                 ^
     where T is a type-variable:
       T extends Object declared in class Class
   /thrift/src/lib/java/src/org/apache/thrift/transport/THttpClient.java:165: 
warning: [deprecation] CoreConnectionPNames in org.apache.http.params has been 
deprecated
         
client.getParams().setParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 
connectTimeout_);
                                         ^
   /thrift/src/lib/java/src/org/apache/thrift/transport/THttpClient.java:165: 
warning: [deprecation] getParams() in HttpClient has been deprecated
         
client.getParams().setParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 
connectTimeout_);
               ^
   /thrift/src/lib/java/src/org/apache/thrift/transport/THttpClient.java:174: 
warning: [deprecation] CoreConnectionPNames in org.apache.http.params has been 
deprecated
         client.getParams().setParameter(CoreConnectionPNames.SO_TIMEOUT, 
readTimeout_);
                                         ^
   /thrift/src/lib/java/src/org/apache/thrift/transport/THttpClient.java:174: 
warning: [deprecation] getParams() in HttpClient has been deprecated
         client.getParams().setParameter(CoreConnectionPNames.SO_TIMEOUT, 
readTimeout_);
               ^
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   2 errors
   6 warnings
   
   > Task :compileJava FAILED
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':compileJava'.
   > Compilation failed; see the compiler error output for details.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or 
--debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   BUILD FAILED in 14s
   2 actionable tasks: 2 executed


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to