[
https://issues.apache.org/jira/browse/ARROW-12747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415522#comment-17415522
]
Mark Diskin commented on ARROW-12747:
-------------------------------------
The next Java LTS (17) is now released when will this be supported? This will
be the baseline for many frameworks to adopt the jakarta open source releases
e.g.
https://spring.io/blog/2021/09/02/a-java-17-and-jakarta-ee-9-baseline-for-spring-framework-6
https://www.oracle.com/news/announcement/oracle-releases-java-17-2021-09-14/
> Arrow's use of Netty library causes UnsupportedOperationException with JDK16
> ----------------------------------------------------------------------------
>
> Key: ARROW-12747
> URL: https://issues.apache.org/jira/browse/ARROW-12747
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Affects Versions: 0.15.1
> Reporter: Megan Knister
> Priority: Major
>
> The Arrow vector library depends on netty, which throws the exception
> *java.lang.UnsupportedOperationException: sun.misc.Unsafe or
> java.nio.DirectByteBuffer.(long, int) not available.* In the documentation,
> [it's stated that
> s|https://github.com/apache/arrow/blob/master/java/README.md]etting
> "-Dio.netty.tryReflectionSetAccessible=true" fixes the issue. This is true
> with all java versions except with usage of the latest JDK16. The exception
> gets thrown regardless of this system property setting when using JDK16.
>
> Is there a fix for this?
> Thanks!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)