RFR: 8266571: Sequenced Collections [v2]

Stuart Marks smarks at openjdk.org
Tue Apr 18 00:04:01 UTC 2023


On Sat, 25 Mar 2023 07:15:16 GMT, Rémi Forax <forax at openjdk.org> 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 1184:
> 
>> 1182: 
>> 1183:         @SuppressWarnings("unchecked")
>> 1184:         private SequencedCollection<E> rc() {
> 
> I suggest to use 'delegate' as name instead of 'rc' (no idea what 'rc' means)

"rc" stood for ReversibleCollection, which was the old name for SequencedCollection.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/7387#discussion_r1169364573


More information about the core-libs-dev mailing list