I don't think anyone is working on this. It would be great for someone to pick up. I would suspect that Netty already has a cross jdk approach to this that we might be able to either leverage or be inspired by.
I have wondered whether the jdk17 version should be separate for the vector library, based on the vector apis. It'd be great if someone evaluated the benefit/costs of doing such. On Fri, Oct 22, 2021 at 1:59 PM Chris Nuernberger <[email protected]> wrote: > Are there plans to support JDK-17? They have removed the unsafe class or > at least most of its methods so for example I believe the MemoryUtil > <https://github.com/apache/arrow/blob/8e43f23dcc6a9e630516228f110c48b64d13cec6/java/memory/memory-core/src/main/java/org/apache/arrow/memory/util/MemoryUtil.java> > class > cannot work the same way - as opposed to going through unsafe to convert > between integers and nio buffers you have to go through > MemoryAddress,Segment and friends. >
