On Tue, 29 Apr 2025 07:41:28 GMT, Andrew Haley <a...@openjdk.org> 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:
> 
>   ScopedValue::orElse() does not accept null as an argument.

src/java.base/share/classes/java/lang/ScopedValue.java line 314:

> 312:      * @since 21
> 313:      */
> 314:     @PreviewFeature(feature = PreviewFeature.Feature.SCOPED_VALUES)

The @since need to be updated for all APIs that are proposed to be permanent. 
This means that Carrier and CallableOp need their @since updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24923#discussion_r2065716300

Reply via email to