@dmlloyd opened JBMAR-259 and commented
Starting with Java 24, usage of Unsafe will produce warnings. I have introduced a new JDK API to replace the functionality that we were previously using Unsafe for.
In sun.reflect.ReflectionFactory, there are two new methods which return MethodHandle instances that perform default serialization. These should be used for cases where readObject/writeObject are not present, and also for cases where these methods are present and call the default read/write object methods on OOS/OIS.
No further details from JBMAR-259