mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
411ad89a83
Build error with OpenJDK 21: [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:188: error: addLast(Object) in CursorableLinkedList cannot implement addLast(E) in List [javac] public boolean addLast(Object o) { [javac] ^ [javac] return type boolean is not compatible with void [javac] where E is a type-variable: [javac] E extends Object declared in interface List [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:176: error: addFirst(Object) in CursorableLinkedList cannot implement addFirst(E) in List [javac] public boolean addFirst(Object o) { [javac] ^ [javac] return type boolean is not compatible with void [javac] where E is a type-variable: [javac] E extends Object declared in interface List New JDK 21 methods in java.util.List addFirst and addLast has a void return type. This clashes with the existing boolean return from the same method in AbstractLinkedList. Upstream fixed this in 4.5.0 only. But this old 3.x branch isn't fixed. Upstream issue: https://issues.apache.org/jira/browse/COLLECTIONS-842 PR: 279425 Reported by: antoine (exp-run) |
||
---|---|---|
.. | ||
apache-bcel | ||
apache-commons-beanutils | ||
apache-commons-cli | ||
apache-commons-codec | ||
apache-commons-collections | ||
apache-commons-collections4 | ||
apache-commons-dbcp | ||
apache-commons-httpclient | ||
apache-commons-lang | ||
apache-commons-lang3 | ||
apache-commons-logging | ||
apache-commons-pool | ||
aparapi | ||
avis | ||
berkeley-db | ||
bluej | ||
bootstrap-openjdk8 | ||
bootstrap-openjdk11 | ||
bootstrap-openjdk17 | ||
bouncycastle | ||
bouncycastle15 | ||
cos | ||
dbvis | ||
eclipse | ||
eclipse-cdt | ||
eclipse-drjava | ||
eclipse-ecj | ||
eclipse-EPIC | ||
eclipse-findbugs | ||
eclipse-pydev | ||
eclipse-shelled | ||
eclipse-yaml-editor | ||
hamcrest | ||
icedtea-web | ||
infobus | ||
intellij | ||
intellij-fsnotifier | ||
intellij-pty4j | ||
intellij-ultimate | ||
jad | ||
jai | ||
jakarta-oro | ||
jasmin | ||
jattach | ||
java3d | ||
java-cup | ||
java-getopt | ||
java-subversion | ||
java-zoneinfo | ||
javahelp | ||
javamail | ||
javavmwrapper | ||
jaxen | ||
jcalendar | ||
jcckit | ||
jcommon | ||
jd-gui | ||
jdk8-doc | ||
jdk11-doc | ||
jdom | ||
jflex | ||
jfreechart | ||
jgraph | ||
jgraphx | ||
jikes | ||
jlex | ||
jlint | ||
jmf | ||
jode | ||
jrosetta | ||
jta | ||
jtiger | ||
jump | ||
junit | ||
jxgrabkey | ||
lightweight-java-profiler | ||
linux-oracle-jdk18 | ||
linux-oracle-jre18 | ||
linux-oracle-serverjre10 | ||
mmake | ||
mx4j | ||
netbeans | ||
netrexx | ||
netty | ||
openjdk8 | ||
openjdk8-jre | ||
openjdk11 | ||
openjdk11-jre | ||
openjdk17 | ||
openjdk17-jre | ||
openjdk18 | ||
openjdk19 | ||
openjdk20 | ||
openjdk21 | ||
openjdk22 | ||
openjfx14 | ||
phpeclipse | ||
proguard | ||
servingxml | ||
sigar | ||
springframework | ||
springframework31 | ||
sqlitejdbc | ||
trove4j | ||
veditor | ||
visualvm | ||
wildfly | ||
Makefile |