sun.misc.Unsafe will eventually be no longer, plenty of methods have already been removed since safer alternatives were introduced.

Java isn't alone in this, as usual due to their relationship, .NET is also clamping down some of this stuff, including changing the memory model around unsafe code blocks.

There are other ecosystems for monkey patching.