Java 9 (September 2017) modularized the monolithic rt.jar JDK into JPMS modules, introduced interactive JShell, added concise unmodifiable collection factories (List.of/Set.of/Map.of), and cut String heap RAM sharply via Compact Strings.
More lessons in Complete Core Java