RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v33]

Alan Bateman alanb at openjdk.org
Wed Apr 2 14:13:18 UTC 2025


On Wed, 2 Apr 2025 13:22:44 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 one additional commit since the last revision:
> 
>   Add info that Map#values and Map#entrySet are stable

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

> 647:      * be thrown.
> 648:      *
> 649:      * @param inputs   the set of (non-null) allowed input values

You might get asked what the behavior is when the inputs set contains the null element.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2024903511


More information about the core-libs-dev mailing list