RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v33]
Per Minborg
pminborg at openjdk.org
Thu Apr 3 10:43:14 UTC 2025
On Wed, 2 Apr 2025 18:42:06 GMT, Viktor Klang <vklang at openjdk.org> wrote:
>> 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
>
> test/jdk/java/lang/StableValue/StableMapTest.java line 143:
>
>> 141: assertTrue(actual.contains(key + "=.unset"));
>> 142: }
>> 143: assertTrue(actual.endsWith("}"));
>
> I guess the problem here is that the order of a map is not deterministic?
Yes, that is the problem.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2026722198
More information about the core-libs-dev
mailing list