-
Bug
-
Resolution: Fixed
-
P3
-
21
-
b07
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8312915 | 21.0.1 | Stuart Marks | P3 | Resolved | Fixed | b04 |
JDK-8312048 | 21 | Stuart Marks | P3 | Resolved | Fixed | b32 |
Some spliterators need to be fixed up. In particular see these:
ReverseOrderDequeView
ReverseOrderListView
The spliterators for these views should be made late-binding and should potentially have some of the same characteristics of the spliterator of the backing collection.
In addition, some work could be done on spliterators of the reversed views of various array-based List concrete implementations, such as ArrayList, COWAL, Arrays.asList, and the unmodifiable lists. They could provide optimized overrides instead of simply inheriting the spliterator from ReverseOrderListView.
ReverseOrderDequeView
ReverseOrderListView
The spliterators for these views should be made late-binding and should potentially have some of the same characteristics of the spliterator of the backing collection.
In addition, some work could be done on spliterators of the reversed views of various array-based List concrete implementations, such as ArrayList, COWAL, Arrays.asList, and the unmodifiable lists. They could provide optimized overrides instead of simply inheriting the spliterator from ReverseOrderListView.
- backported by
-
JDK-8312048 fix deficient spliterators for Sequenced Collections
- Resolved
-
JDK-8312915 fix deficient spliterators for Sequenced Collections
- Resolved
- blocks
-
JDK-8280836 JEP 431: Sequenced Collections
- Closed
- links to
-
Commit openjdk/jdk21/b4f19f57
-
Commit openjdk/jdk/743e8b8e
-
Review openjdk/jdk21/118
-
Review openjdk/jdk/14854
(2 links to)