You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by GitBox <gi...@apache.org> on 2020/09/11 08:28:22 UTC

[GitHub] [thrift] coheigea commented on pull request #2231: THRIFT-5274 - Thrift 0.13.0 does not work with JDK8

coheigea commented on pull request #2231:
URL: https://github.com/apache/thrift/pull/2231#issuecomment-690953968


   Hi @zeshuai007 ,
   
   Yes you can reproduce as follows:
   
   1. git clone https://github.com/apache/camel
   2. Edit parent/pom.xml and change libthrift-version from 0.12.0 to 0.13.0
   3. mvn clean install -f parent/pom.xml
   4. mvn clean install -f components/camel-thrift/pom.xml
   
   If you run the last command with JDK11 it works perfectly, otherwise you start seeing the errors as above, e.g.:
   Exception in thread "TAsyncClientManager#SelectorThread 27" java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;
   	at org.apache.thrift.async.TAsyncMethodCall.doWritingRequestBody(TAsyncMethodCall.java:263)
   	at org.apache.thrift.async.TAsyncMethodCall.transition(TAsyncMethodCall.java:195)
   


----------------------------------------------------------------
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:
users@infra.apache.org