1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/java
Vladimir Druzenko 411ad89a83 java/apache-commons-collections: limit JAVA_VERSION from 8 to 20 because build fails with 21+
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)
2024-06-10 01:27:04 +03:00
..
apache-bcel
apache-commons-beanutils
apache-commons-cli
apache-commons-codec
apache-commons-collections java/apache-commons-collections: limit JAVA_VERSION from 8 to 20 because build fails with 21+ 2024-06-10 01:27:04 +03:00
apache-commons-collections4
apache-commons-dbcp java/apache-commons-dbcp: update to 2.12.0 release. 2024-03-05 08:05:24 +01:00
apache-commons-httpclient
apache-commons-lang
apache-commons-lang3
apache-commons-logging
apache-commons-pool
aparapi
avis
berkeley-db *: Change the MAINTAINER field per request 2024-05-18 11:22:43 +03:00
bluej
bootstrap-openjdk8
bootstrap-openjdk11
bootstrap-openjdk17
bouncycastle
bouncycastle15
cos
dbvis
eclipse */*: properly depend on Maven package 2024-03-11 10:09:45 +01:00
eclipse-cdt
eclipse-drjava
eclipse-ecj
eclipse-EPIC
eclipse-findbugs
eclipse-pydev java/eclipse-pydev: update to 12.0.0 2024-03-28 23:14:40 +03:00
eclipse-shelled
eclipse-yaml-editor java/eclipse-yaml-editor: new port to work with YAML in Eclipse IDE 2024-05-05 21:05:29 +03:00
hamcrest
icedtea-web lang/rust: Bump revisions after 1.78.0 2024-05-13 13:03:24 +02:00
infobus
intellij java/intellij: move man pages to share/man 2024-03-10 21:56:17 -04:00
intellij-fsnotifier
intellij-pty4j
intellij-ultimate java/intellij-ultimate: Moved man to share/man 2024-02-24 13:29:29 +01:00
jad
jai
jakarta-oro
jasmin
jattach java/jattach: update to 2.2 2024-03-28 22:57:02 +03:00
java3d
java-cup
java-getopt
java-subversion */*: take ownership of lev@'s Subversion ports 2024-04-22 15:09:56 +02:00
java-zoneinfo
javahelp
javamail
javavmwrapper java/javavmwrapper: Match currently supported versions 2024-02-04 14:51:31 -08:00
jaxen
jcalendar
jcckit
jcommon
jd-gui
jdk8-doc
jdk11-doc
jdom
jflex
jfreechart
jgraph
jgraphx
jikes java/jikes: Moved man to share/man 2024-02-24 13:29:30 +01:00
jlex
jlint
jmf
jode *: Change the MAINTAINER field per request 2024-05-18 11:22:43 +03:00
jrosetta
jta
jtiger
jump
junit
jxgrabkey *: Change the MAINTAINER field per request 2024-05-18 11:22:43 +03:00
lightweight-java-profiler
linux-oracle-jdk18
linux-oracle-jre18
linux-oracle-serverjre10
mmake java/mmake: Moved man to share/man 2024-02-24 20:25:32 +01:00
mx4j
netbeans
netrexx
netty
openjdk8 java/openjdk8: Update to 8u412 2024-04-30 13:42:05 -07:00
openjdk8-jre
openjdk11 java/openjdk11: Update to 11.0.23 2024-04-30 22:01:09 -07:00
openjdk11-jre
openjdk17 java/openjdk17: Update to 17.0.11 2024-05-01 20:16:06 -07:00
openjdk17-jre
openjdk18
openjdk19
openjdk20
openjdk21 java/openjdk21: Update to 21.0.3 2024-05-02 20:42:33 -07:00
openjdk22 java/openjdk22: fix build on powerpc64* 2024-04-12 00:40:49 +02:00
openjfx14 java/openjfx14: fix build on non-amd64 2024-06-03 17:11:53 +02:00
phpeclipse
proguard
servingxml
sigar
springframework
springframework31
sqlitejdbc
trove4j
veditor
visualvm
wildfly java/wildfly: Update version 30.0.1=>31.0.1 2024-03-13 23:41:41 +01:00
Makefile java/eclipse-yaml-editor: new port to work with YAML in Eclipse IDE 2024-05-05 21:05:29 +03:00