JDK 22 Features To Get Excited About

Categories: Java Stream Gatherers Vector API Foreign Foreign Function Memory

Java advances quickly. It is incredible how much incremental change accumulates over time. JDK 17 is now three years old, and we are at JDK 22 as of 2024. In this session, I will take some select JEPs (Java Enhancement Process) and demonstrate what they are and their use case. Then you can be ahead of the curve, and give you all the information you need to sell and demand the next generation Java for your work or opensource initiative.

  • How do you turn on these advanced features?

  • Stream Gatherers

  • Vector API

  • Statements before super()

  • Unnamed Variables and Parameters

  • Foreign Function and Memory API

  • Launch Multi-File Source-Code Programs

  • Implicit Declared Classes and Enhanced Main Methods

  • Updates on switch expressions