Dev Tools · 2h ago
Project Valhalla Lands in JDK 28: Value Classes Preview
Oracle engineer Lois Foltan confirmed JEP 401 (Value Classes and Objects) is integrating into OpenJDK mainline, targeting a preview in JDK 28. The change spans 197,000 lines across 1,816 files, described as the biggest object model change since Java's 1995 debut. Value classes eliminate object identity but retain nullability in this preview, with wrapper classes like Integer migrating and breaking synchronized usage.
Meridian48 take
After a decade of anticipation, Valhalla's value classes finally ship—but the nullability surprise and breaking changes to synchronized on wrappers mean developers should audit code before enabling the preview.
Read the full reporting
Project Valhalla in JDK 28: What Value Classes Actually Change →
DEV Community
project-valhallajava-28