RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v33]
Per Minborg
pminborg at openjdk.org
Thu Apr 3 08:39:17 UTC 2025
On Wed, 2 Apr 2025 14:24:04 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
>
> src/java.base/share/classes/java/lang/StableValue.java line 374:
>
>> 372: * If there are circular dependencies in a dependency graph, a stable value will
>> 373: * eventually throw a {@linkplain StackOverflowError} upon referencing elements in
>> 374: * a circularity.
>
> Is this still correct, I thought it detected reentrancy?
Good catch!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2026488000
More information about the core-libs-dev
mailing list