RFR: 8351565: Implement JEP 502: Stable Values (Preview)

Chen Liang liach at openjdk.org
Thu Mar 13 11:20:13 UTC 2025


On Tue, 11 Mar 2025 18:08:47 GMT, Johannes Graham <duke at openjdk.org> wrote:

>> This allows reuse of `AbstractImmutableList` with list iterators, sub lists and more.
>
> Using the regular AbstractList as a base would also get you implementations of those.

`AbstractList` has non-final fields, which makes it not suitable for `@ValueBased`.

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

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


More information about the core-libs-dev mailing list