It was copied from the same package. The current AbstractLinkedList is source incompatible with JDK 21 due to new default methods added to the List interface. So Collections does not compile on JDK 21. Anyone using the AbstractLinkedList and compiling on JDK 21 must switch their source to use AbstractLinkedListForJava21.
If this is not clear from the javadoc and linked issue in the commit log then we should do a better job explaining this. Alex On Wed, 11 Sept 2024 at 21:52, Gary D. Gregory <ggreg...@apache.org> wrote: > > Hi All: > > Added in 4.5.0-M2, I see a new class called AbstractLinkedListForJava21 with > the Javadoc: "This is a copy of AbstractLinkedList" > > Copied from where? > What was the license of the source? > > If we cannot validate that this is copied from a source file with a > compatible license, we will have to remove it. > > TY! > Gary > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org