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 ...
Java developers have spent decades working with a basic assumption about objects: every object has its own identity. Now, OpenJDK developers are preparing to loosen that rule with JDK 28.
An OpenJDK proposal would preview value classes and objects in a forthcoming version of Java. The feature would provide Java class instances that have only final fields and lack object identity. The ...
Stable values combine immutable state and flexible timing of initialization, enabling optimizations for user code previously available only to JDK code. Startup times for Java applications would be ...