Description
Problem
We have two usages of sun.misc.SharedSecrets and sun.misc.JavaNioAccess in the project. Both methods do the same thing - convert native pointer to ByteBuffer:
GridUnsafe.wrapPointer
PageMemoryImpl.wrapPointer
Java9 cannot compile it because these classes were moved to jdk.internal.misc package.
Suggested fix
1) Remove PageMemoryImpl.wrapPointer method and use GridUnsafe.wrapPointer instead.
2) Rework GridUnsafe.wrapPointer to reflection-based approach.
Attachments
Issue Links
- Is contained by
-
IGNITE-6728 Support Java 9
- Resolved