RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v56]
Per Minborg
pminborg at openjdk.org
Tue Apr 22 09:57:39 UTC 2025
On Thu, 17 Apr 2025 10:51:14 GMT, Viktor Klang <vklang at openjdk.org> wrote:
>> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Address comments on original vs underlying
>
> src/java.base/share/classes/java/lang/StableValue.java line 571:
>
>> 569: * thrown by the computing thread.
>> 570: * <p>
>> 571: * If the provided {@code underlying} supplier throws an exception, it is relayed
>
> Suggestion:
>
> * If the provided {@code underlying} supplier throws an exception, it is rethrown
The term "relayed" is the same that is used in `Map`. Which is best?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2053774884
More information about the core-libs-dev
mailing list