JEP 401 revisions: Null-Restricted Value Object Storage

Dan Smith daniel.smith at
Mon Aug 14 23:26:09 UTC 2023

I've made some revisions to JEP 401 to align with our latest design ideas for expressing flattenability in the language and in class files.

At one point I was considering introducing nullness features in a separate JEP, but the consensus seems to be that we're better off delivering a smaller version of nullness features first, only applicable to value classes. So I've revised the JEP title to be "Null-Restricted Value Object Storage" and eliminated the dependency on a separate nullness JEP.

(Don't forget that the core Value Objects concepts related to identity have been lifted out into their own JEP,, which is a prerequisite to JEP 401.)

More information about the valhalla-spec-observers mailing list