Why does `ScopedValue.where(SCOPE_VALUE, val).call()` throw Exception?

Andrew Haley aph-open at littlepinkcloud.com
Tue Apr 18 13:48:33 UTC 2023


On 3/24/23 21:58, Andrew Haley wrote:
> On 3/24/23 13:23, Josiah Noel wrote:
>> It would be the same as call, except that it takes a supplier as an input
>> and returns the supplier's result.
> 
> Ah, I see. That makes sense.

https://github.com/openjdk/loom/commit/280ec2a8ebb486dde9880bb891d5cc63a10b1a64

-- 
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