microstream
microstream copied to clipboard
Deprecated method: Unsafe.enuseClassInitialized sice java 15
Method Unsafe.enuseClassInitialized is deprecated and also mark for removal...
/**
* Ensures the given class has been initialized. This is often
* needed in conjunction with obtaining the static field base of a
* class.
*
* @deprecated Use the {@link java.lang.invoke.MethodHandles.Lookup#ensureInitialized(Class)}
* method instead. This method is subject to removal in a future version of JDK.
*/
We use this method in class:
base/src/main/java/one/microstream/memory/sun/JdkInternals.java:1014
The suggested method is exists from java 15