[ 
https://issues.apache.org/jira/browse/COLLECTIONS-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762182#comment-17762182
 ] 

Alex Herbert commented on COLLECTIONS-842:
------------------------------------------

Copying the implementation should be simple since AbstractLinkedList does not 
have any non-trivial dependencies. That would allow you to continue developing 
with JDK 21 until this is resolved.

You may get some more response on possible ways to move this forward if you 
post to the [developer mailing list|https://commons.apache.org/mail-lists.html] 
using the subject "[collections] ...". There may be some subscribers to that 
list who do not see Jira tickets (which go to issues@commons).

I am not averse to duplicating AbstractLinkedList and documenting the reason in 
the new and old class javadoc header. Full support would also duplicate 
CursorableLinkedList and NodeCachingLinkedList too for completeness.

> AbstractLinkedList apparently incompatible with JDK 21's java.util.List
> -----------------------------------------------------------------------
>
>                 Key: COLLECTIONS-842
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-842
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: List
>            Reporter: Julian Reschke
>            Priority: Major
>
> ...it returns "boolean" in commons-collections4, but is void in JDK 21 (see 
> https://download.java.net/java/early_access/jdk21/docs/api/java.base/java/util/List.html#addLast(E))



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to