RFR: 8356080: Address post-integration comments for Stable Values

Chen Liang liach at openjdk.org
Tue May 6 09:03:33 UTC 2025


On Fri, 2 May 2025 12:13:39 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to address comments in the initial PR for Stable Values, which were deferred until after integration.
> 
> Unfortunately, this PR shows the total commit history for stable values.

src/java.base/share/classes/java/lang/StableValue.java line 387:

> 385:  * The method {@link #orElseSet(Supplier)} guarantees that the provided
> 386:  * {@linkplain Supplier} is invoked successfully at most once, even under race.
> 387:  * Invocations of {@link #orElseSet(Supplier)} (Object)} form a total order of zero or

Suggestion:

 * Invocations of {@link #orElseSet(Supplier)} form a total order of zero or

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25004#discussion_r2072270481


More information about the core-libs-dev mailing list