#jep401
“The JEP acknowledges that value objects make significant changes to Java's object model. Developers may be surprised by the new behavior of == and synchronized, although the proposal expects such disruptions to be uncommon and manageable.”

By A N M Bazlur Rahman
#Java #JDK #JEP401 #ProjectValhalla
Project Valhalla's First Preview: JEP 401 Redefines == for Java Objects
JEP 401, integrated into JDK 28, introduces value objects. These new class instances feature final fields, altered behavior for equality checks, and stricter construction and synchronization rules. It...
www.infoq.com
August 23, 2026 at 9:38 PM