Skip to content

Comment on JEP 539: Strict Field Initialization in the JVM moved to previewparent

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.