JEP 401, Value Objects (Preview), has been integrated into JDK 28. It introduces identity-free class instances with only final fields, changes how == behaves for those objects, and opens the door to ...
Project Valhalla’s value classes are heading to JDK 28, a 197,000-line change that rewrites how Java handles object identity. Oracle software engineer Lois Foltan has confirmed that Java Enhancement ...