[ https://issues.apache.org/jira/browse/COLLECTIONS-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762150#comment-17762150 ]
Julian Reschke edited comment on COLLECTIONS-842 at 3/28/24 12:49 PM: ---------------------------------------------------------------------- bq. Mark the methods as deprecated, document that they will be replaced with a void return type in collections5, and note that extending the AbstractLinkedList class is not source compatible with java 21. Is there a concrete plan for collections5? In any case it would be good if there was a way current users of AbstractLinkedList in collections4 could continue to use that. Maybe just add a second variant? was (Author: reschke): bq. Mark the methods as deprecated, document that they will be replaced with a void return type in collections5, and note that extending the AbstractLinkedList class is not source compatible with java 21. Is there a concrete plan for collection5? In any case it would be good if there was a way current users of AbstractLinkedList in collections4 could continue to use that. Maybe just add a second variant? > 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)