On Tue, 12 May 2026 15:18:23 GMT, Chen Liang <[email protected]> wrote:
> Note that `contains(null)` will cause NPE on `Set.of` but `unmodifiableSet()` > result always return `false` (if you could migrate it to `Set.of`, which > filters null inputs) Right, this means each one needs to be looked as some of the changes will be exposed via APIs (others are not exposed so there is no compatibility discussion) ------------- PR Comment: https://git.openjdk.org/jdk/pull/31135#issuecomment-4443301049
