laurentgo opened a new issue, #43479: URL: https://github.com/apache/arrow/issues/43479
### Describe the enhancement requested `sun.misc.Unsafe` is a Java internal class only accessible to classes loaded of the boot classloader, unless one uses reflection to bypass this restriction. `org.apache.arrow.memory.util.MemoryUtil` makes it available as a public field to any java classes which is kind of opening a pandora box. As a first step towards switching from `sun.misc.Unsafe` to safer memory access methods (which may become a requirement at some point as discussed in [JEP 471](https://openjdk.org/jeps/471) ), remove direct access to `sun.misc.Unsafe` instance. ### Component(s) Java -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
