thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [thrift] coheigea opened a new pull request #2231: THRIFT-5274 - Thrift 0.13.0 does not work with JDK8
Date Tue, 08 Sep 2020 10:38:47 GMT

coheigea opened a new pull request #2231:
URL: https://github.com/apache/thrift/pull/2231


   
   Thrift 0.13.0 does not work with JDK8, as it is compiled with JDK11. Even though the source
version is JDK8, incorrect byte code is generated for various ByteBuffer methods, e.g.:
   
   Exception in thread "TAsyncClientManager#SelectorThread 22" java.lang.NoSuchMethodError:
java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;
   
   The fix is to manually cast ByteBuffer to Buffer (or else switch to using the xenial docker
image to create the release artifacts). See this task for more context: https://github.com/eclipse/jetty.project/issues/3244
   
   


----------------------------------------------------------------
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



Mime
View raw message