You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2021/02/04 09:54:00 UTC
[jira] [Updated] (THRIFT-5274) Thrift 0.13.0 does not work with
JDK8
[ https://issues.apache.org/jira/browse/THRIFT-5274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-5274:
-------------------------------
Component/s: Java - Library
> Thrift 0.13.0 does not work with JDK8
> -------------------------------------
>
> Key: THRIFT-5274
> URL: https://issues.apache.org/jira/browse/THRIFT-5274
> Project: Thrift
> Issue Type: Task
> Components: Java - Library
> Reporter: Colm O hEigeartaigh
> Priority: Major
> Fix For: 0.14.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> 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 suggested in this blog post: [https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/]
> We can add the release flag for 1.8 (-release=8).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)