Skip to content

[Java] Arrow's use of Netty library causes UnsupportedOperationException with JDK16 #28489

@asfimport

Description

@asfimport

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 setting "-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!

Reporter: Megan Knister
Assignee: David Dali Susanibar Arce / @davisusanibar

Related issues:

Note: This issue was originally created as ARROW-12747. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions