On Sun, 21 Sep 2025 10:31:06 GMT, Tagir F. Valeev <[email protected]> wrote:

>> Please review this small change. If you have more ideas which classes may 
>> miss specializations of SequencedCollection methods, I can add them to this 
>> PR as well.
>
> Tagir F. Valeev has updated the pull request incrementally with two 
> additional commits since the last revision:
> 
>  - Remove extra asterisk to prevent jtreg comment from being parsed as javadoc
>  - JDK-8368178 Add specialization of SequencedCollection methods to 
> emptyList, singletonList and nCopies

One more concern is that `ReverseOrderListView` is not serializable, but 
`List12` and `ListN` are serializable. With this change, some reversed lists 
will be serializable while others are not. I don't see anything in the 
specification regarding the serializability of the reversed lists, but such a 
discrepancy might be confusing for some users.

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

PR Comment: https://git.openjdk.org/jdk/pull/27406#issuecomment-3315921649

Reply via email to