On Tue, 29 Apr 2025 07:54:23 GMT, Andrew Haley <[email protected]> wrote:
>> Propose to finalize scoped values.
>> The only functional change is that the orElse() method no longer accepts a
>> null argument.
>
> Andrew Haley has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Since when?
src/java.base/share/classes/java/lang/ScopedValue.java line 412:
> 410: * @throws StructureViolationException if a structure violation
> is detected
> 411: * @throws X if {@code op} completes with an exception
> 412: * @since 25
The `@since` on the method be dropped once Carrier is bumped to 25.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24923#discussion_r2065735184