8357798: ReverseOrderListView uses Boolean boxes after JDK-8356080

Reviewed-by: liach, smarks
This commit is contained in:
Aleksey Shipilev 2025-06-04 06:04:05 +00:00
parent b918dc84ec
commit 683319f25c

View File

@ -42,8 +42,7 @@ class ReverseOrderListView<E> implements List<E> {
@Stable
final List<E> base;
@Stable
final Boolean modifiable;
final boolean modifiable;
public static <T> List<T> of(List<T> list, boolean modifiable) {
if (list instanceof RandomAccess) {