On Sat, 25 Mar 2023 07:19:49 GMT, Rémi Forax <[email protected]> wrote:
>> Stuart Marks has updated the pull request incrementally with two additional
>> commits since the last revision:
>>
>> - More specification tweaks.
>> - Add simple overrides to ArrayList.
>
> src/java.base/share/classes/java/util/Collections.java line 6023:
>
>> 6021: */
>> 6022: private static class SequencedSetFromMap<E> extends SetFromMap<E>
>> implements SequencedSet<E> {
>> 6023: private final E nsee(Map.Entry<E, Boolean> e) {
>
> `static` instead of `final`
Can't be static because it needs to have type variable E in scope.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/7387#discussion_r1170750250