RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v33]
Per Minborg
pminborg at openjdk.org
Thu Apr 3 08:26:12 UTC 2025
On Wed, 2 Apr 2025 21:37:25 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Or "observably immutable"? 🤔
>
> or... "immutable"
There is a problem here: If we say it is "immutable content" people might think that passing mutable data makes it immutable. If we say it is "shallowly immutable content" people might think they cannot pass immutable data.
I am not so sure that the term "effectively immutable" is widely understood.
Another alternative is to rephrase entirely and say something like
"A stable value is a holder of content that can be lazily computed at most once"
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2026464916
More information about the core-libs-dev
mailing list