RFR: 8327858: Improve spliterator and forEach for single-element immutable collections [v2]

Chen Liang liach at openjdk.org
Tue Apr 23 16:07:29 UTC 2024


On Tue, 23 Apr 2024 13:13:03 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> Do we need additional tests or are these modifications already covered by the existing tests?

Thanks for the note, upon review it seems the default method overrides aren't covered by existing Collection tests. I should add them to ensure the single/double element List/Set are tested.

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

PR Comment: https://git.openjdk.org/jdk/pull/15834#issuecomment-2072824367


More information about the core-libs-dev mailing list