On Mon, 20 Feb 2023 13:15:20 GMT, liach <d...@openjdk.org> wrote: > Bad change, doesn't handle e0.equals(e1), and this is getting beyond the > original issue
`Set.of(E, E)` handles duplication. If `coll` is `{Jumbo,Regular}EnumSetCompatible`, then we don't have to create the `HashSet`. ------------- PR: https://git.openjdk.org/jdk/pull/12498