On Wed, 16 Nov 2022 13:13:59 GMT, Alan Bateman <al...@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`. > >> 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. OK, so unless anyone has any /strong/ objections I'll mark this as Resolved. ------------- PR: https://git.openjdk.org/jdk/pull/10952