On Mon, 18 May 2026 12:24:27 GMT, Per Minborg <[email protected]> wrote:

>> This PR proposes to replace older `Collection.unmodifiable` wrappers with 
>> `Set.of()` instead. This can improve performance, reduce footprint, and 
>> reduce maintenance. There is also occasional use of `Map.of()` in nearby 
>> places where `Set.of()` was introduced.
>> 
>> ---------
>> - [X] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Per Minborg has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Revert change

I think the proposed "Map.copyOf" migration is better tracked in a separate own 
RFE.

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

PR Comment: https://git.openjdk.org/jdk/pull/31135#issuecomment-4493579721

Reply via email to