On Fri, 9 May 2025 06:24:50 GMT, Per Minborg <pminb...@openjdk.org> wrote:
>> This should already be covered by the testDoubleReverse() test in >> test/jdk/java/util/SequencedCollection/Basic.java. > > There are some new collections (such as StableList) that are not covered in > Basic. But maybe they should have their separate tests? `UnmodifiableSequencedCollection` double-reversed is not an identity function. But at least, it does not nest, as it returns a new USC with the underlying collection reversed. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25120#discussion_r2081060529