~/talk

Java 22 and Beyond: A Roadmap of Innovations

Talkat Voxxed Days Brussels 2024 · 2024-05-21..05-22· [java]
slides:none on file

Java 22 shows concrete changes you can use today: JEP 458 multifile launch lets the Java launcher run a program made of multiple .java files without separate javac steps; unnamed patterns/variables and anonymized matches make exhaustive sealed-class switches far cleaner; constructor statements-before-super let argument validation run before delegating; the gatherers API adds sliding windows and chunking to streams; the foreign function & memory API plus jextract enable native calls (demo: jextract teapot) and reduce JNI pain, while a preview class‑file API promises smoother upgrades across bytecode levels.

AI-written summary · about

  1. 0:00Java 22 innovations
  2. 1:30Java’s release cadence
  3. 5:26Project Amber’s start
  4. 8:57Multi-file launcher
  5. 13:55Sealed types and records
  6. 18:14Constructor chaining
  7. 20:24Pattern matching in switch
  8. 23:10Unnamed patterns and variables
  9. 24:57New class file API
  10. 29:56Gatherers API
  11. 35:01Foreign function API
  12. 46:15Project Loom’s threads
  13. 49:53Scope values in concurrency
  14. 51:59Further learning
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.