RFR: 8371164: ArrayList.addAll() optimizations

jengebr duke at openjdk.org
Tue Nov 4 18:35:24 UTC 2025


On Mon, 3 Nov 2025 21:51:33 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> There needs to be some proof that this functionality is covered. If you could list existing tests that exercise the ArrayList.addAll(ArrayList) and Collections.singleton().toArray() methods, we could simply add this bug number to them.

I added two new unit tests that thoroughly cover this.  Full set of tier-1 tests passed.

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

PR Comment: https://git.openjdk.org/jdk/pull/28116#issuecomment-3487487062


More information about the core-libs-dev mailing list