RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v25]
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Apr 2 08:49:33 UTC 2025
On Tue, 1 Apr 2025 13:27:34 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> Implement JEP 502.
>>
>> The PR passes tier1-tier3 tests.
>
> Per Minborg has updated the pull request incrementally with two additional commits since the last revision:
>
> - Add lazy toSting for StableMap::values
> - Make toString for reversed and sublist lazy
src/java.base/share/classes/java/lang/StableValue.java line 164:
> 162: * for that parameter value. A stable int function is created via the
> 163: * {@linkplain StableValue#intFunction(int, IntFunction) StableValue.intFunction()}
> 164: * factory. Upon creation, the input range (i.e. [0, size)) is specified together with
maybe better to surround the range `[0, size` in a code block, or something similar?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2024375858
More information about the core-libs-dev
mailing list