Java 23: What’s New?
Java 23 introduces significant changes, including the removal of the String Templates feature and the addition of several new preview features like JEP 455 for primitive types in patterns and JEP 467 for Markdown documentation comments. Other noteworthy updates include the deprecation of many methods in sun.misc.Unsafe for safer alternatives and the ZGC garbage collector's generational mode becoming the default. Features like the Class-File API, Vector API, and Stream Gatherers remain in preview. The version also includes various improvements to the JDK and internal changes aimed at performance and security.