RFR: 6323374: (coll) Optimize Collections.unmodifiable* and synchronized* [v7]

Joe Darcy darcy at openjdk.java.net
Thu Mar 4 21:40:42 UTC 2021


On Thu, 4 Mar 2021 20:28:58 GMT, Stuart Marks <smarks at openjdk.org> wrote:

>> Ian Graves has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Revert "Avoid wrapping subclasses where relevant. Updated tests."
>>   
>>   This reverts commit dda174c582590827cad3f4006a8ff9e7dd8a51ab.
>
> Marked as reviewed by smarks (Reviewer).

If the checks for Navigable set and the like are omitted, I'd prefer to a comment in the sources noting this is intention as a Navigable set is-a Sorted set.

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

PR: https://git.openjdk.java.net/jdk/pull/2596


More information about the core-libs-dev mailing list