Java 23 - Better Language, Better APIs, Better Runtime
summary
Java 22 and 23 finalize a lot of concrete pieces: the foreign-function & memory API (off‑heap arenas, MemorySegment, Jextract workflows) is production-ready, pattern matching gains unnamed patterns (underscore to combine branches) and primitive patterns enter preview, the launcher accepts multi‑source programs and a simpler top‑level main, Markdown is supported in Javadoc, and generational ZGC becomes the default ZGC mode in 23. Stream gatherers provide a reusable intermediate API (examples: fixed‑size groups, scan), class‑file API aims to replace widespread ASM use, while string templates are pulled for redesign.
AI-written summary · about
chapters (15)
- 0:00Introduction and welcome
- 2:54Unnamed patterns in Java
- 18:07Foreign Function Memory API
- 28:40Launching multifile programs
- 39:24Markdown in JavaDoc
- 55:55Generational ZGC
- 1:01:37Deprecated features removal
- 1:19:56Preview features recap
- 1:20:17Primitive patterns
- 1:31:16Module imports
- 1:37:55String templates removal
- 1:48:27Constructor chaining
- 2:00:08Stream gatherers
- 2:16:37Class file API
- 2:28:54Java 22 and 23 features summary
related talks
49mJava 22 - Better Language, Better APIs, Better Runtime
51mJava 24 - Better Language, Better APIs, Better Runtime
56mTo Java 22 and Beyond!
52mJava 22 and Beyond: A Roadmap of Innovations
53mJava 23: Hot JEPs
45mWhat's New in Java 21
50mJava 26: Better Language, Better APIs, Better Runtime
02h 47mJava 24 Launch
