Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15179 [Java] Ensure Support for modern Java versions
  3. ARROW-12747

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.15.1, 5.0.0
    • 8.0.0
    • Java
    • None

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              dsusanibara David Dali Susanibar Arce
              meg.knister@snowflake.com Megan Knister
              Votes:
              5 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: