RFR: 8302818: Optimize wrapper sets and immutable sets of Enums [v2]

Tingjun Yuan duke at openjdk.org
Mon Feb 20 13:43:01 UTC 2023


On Mon, 20 Feb 2023 13:29:52 GMT, Tingjun Yuan <duke at openjdk.org> wrote:

> I wonder why the original code didn't use `addAll`, so I didn't change it. 😂

It seems to be okay to use `addAll` in all cases. Do we need extra test cases for this?

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

PR: https://git.openjdk.org/jdk/pull/12498


More information about the core-libs-dev mailing list