On Mon, 20 Feb 2023 13:58:01 GMT, liach <d...@openjdk.org> wrote: > no, Set.copyOf explicitly allows duplications, unlike Set.of. You need to > read the specs so you know what you are doing.
Sorry, my bad. I've fixed that. ------------- PR: https://git.openjdk.org/jdk/pull/12498