On Wed, 3 Jun 2026 12:34:09 GMT, Rémi Forax <[email protected]> wrote:
> Beware of Map.copyOf(), Collections.unmodifiableMap() keep the order of the > underlying Map, Map.copyof() has no order, so the replacement has to be done > with care. Same applies to `Set.of(…)` and `Set.copyOf(…)`. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31135#issuecomment-4617277318
