RFR: JDK-8286666: JEP 429: Implementation of Scoped Values (Incubator) [v6]

Alan Bateman alanb at openjdk.org
Wed Nov 16 13:16:09 UTC 2022


On Wed, 16 Nov 2022 12:50:04 GMT, ExE Boss <duke at openjdk.org> wrote:

> Note that `ScopedValue` can currently be bound to `null`, but by using `Optional`, there would be no way to differentiate an unbound `ScopedValue` from one bound to `null`.

That's right, an Optional view would have to deal with that.

-------------

PR: https://git.openjdk.org/jdk/pull/10952



More information about the build-dev mailing list