Description
New JDK 21 method in java.util.List addLast has a void return type. This clashes with the existing boolean return from the same method in AbstractLinkedList:
java.util.List { default void addLast(E e); } org.apache.commons.collections4.list.AbstractLinkedList { public boolean addLast(final E o); }
Attachments
Issue Links
- blocks
-
JCR-5049 Remove "CopyOfAbstractLinkedList" pending resolution of COLLECTIONS-842
- Resolved
- relates to
-
COLLECTIONS-849 Compilation with Java 21 fails with "error: addFirst(E#1) in AbstractLinkedList cannot implement addFirst(E#2) in List"
- Resolved
-
JCR-4940 jackrabbit-jcr2spi is incompatible with Java 21
- Closed
- links to