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.
Table of contents
Author(s)JEP 455 - Primitive Types in Patterns, instanceof, and switch (Preview)JEP 467 - Markdown Documentation CommentsJEP 471 - Deprecate the Memory-Access Methods in sun.misc.Unsafe for RemovalJEP 474 - ZGC: Generational Mode by DefaultJEP 476 - Module Import Declarations (Preview)Features coming out of previewFeatures that remain in previewMiscellaneousInternal changes, performance, and securityJFR EventsConclusion1 Comment
Sort: