ScopedValue.runWhere not returning scope
Andrew Haley
aph-open at littlepinkcloud.com
Tue Jun 11 08:57:26 UTC 2024
On 6/10/24 18:34, Robert Engels wrote:
> so the scoped value is not immutable, only the reference is constant.
>
> This doesn’t match the JEP or I am misunderstanding it.
Think of a scoped value as being like a final local reference variable. It is
immutable, clearly, but its referent is not.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the loom-dev
mailing list