It seems crazy that with Java 25 being the current LTS, Java 26 the current lastest version and Java 27 almost arriving, that we will be talking about Java 28 already. And yet, some features have alreay landed in Java 28, and those are the ones we are gonna dive into here.

Java 28 - Overview
Java 28 is due to be launched in March 2027 At this moment, these are the JEPs that are going in this release. JEP 401 Value Objects The very release of Project Valhalla deliverables, focussing on value class, i.e. classes without identify. JEP535 Shenandoha GC: Generation by Default The Shenandoha Garbage Collector now uses the generational approach already know from other GCs like G1. JEP539 Strict Field initialization in the JVM Strictly-initialized fields must be initialized before they are read, offering stronger integrity guarantees. ...

