Note: when resolving this task, update the Java section at https://www.mediawiki.org/wiki/Continuous_integration/Language_Versions_Policy
---
This task is to phase out support for Java 8 from the CI Jenkins jobs triggered by Zuul. They are defined in https://gerrit.wikimedia.org/g/integration/config/
The reason is OpenJDK 8 is not present in Debian Buster (released in July 2019, EOL since August 2022) and we forward ported it. As we would like to phase out Debian Buster images from CI, it looks like we should remove support for Java 8 as a prerequisite.
OpenJDK 11 was introduced in Buster, is in Bullseye and is not in Bookworm (which comes with Java 17).
As an alternative, we can migrate the CI images from {nav Buster > Bullseye} since we forward ported Java 8 there as well (`bullseye-wikimedia component/jdk8`).
Repositories triggering at least one job having `java8` in its name:
| Gerrit project | Java 11 jobs? | Comment
|--|--|--
| analytics/gobblin-wmf | Added by [[ https://gerrit.wikimedia.org/r/c/integration/config/+/974196 | Gerrit 974196 ]] | Fails to build due to a Maven repo not being allowed to fetch `eigenbase:eigenbase-properties`
| analytics/refinery/source | No (doc: [[ https://gerrit.wikimedia.org/r/c/integration/config/+/973089 | Gerrit 973089 ]]) | No plans for upgrading to Java 11.
| analytics/wmde/toolkit-analyzer | No | Archive? T351291
| integration/gearman-java | Yes |
| ~~integration/jenkinsci/gearman-java~~ | Yes | Archived project ([[ https://gerrit.wikimedia.org/r/c/integration/config/+/974205 | Gerrit 974205 ]])
| mediawiki/tools/mwdumper | No | Requested archival with T351228
| ~~operations/software/gerrit/plugins/barricade~~ | No | Archived project ([[ https://gerrit.wikimedia.org/r/c/integration/config/+/974199/ | Gerrit 974199 ]]
| search/cirrus-streaming-updater | Yes |
| search/extra-analysis | Added by [[ https://gerrit.wikimedia.org/r/c/integration/config/+/973083/ | Gerrit 973083 ]] | already running on Java 11 in production
| search/extra | Added by [[ https://gerrit.wikimedia.org/r/c/integration/config/+/973083/ | Gerrit 973083 ]] | already running on Java 11 in production
| search/glent | Added by [[ https://gerrit.wikimedia.org/r/c/integration/config/+/973083/ | Gerrit 973083 ]] | is a spark job so have to remain java8 compatible but can be made java11 ready
| search/highlighter | Added by [[ https://gerrit.wikimedia.org/r/c/integration/config/+/973083/ | Gerrit 973083 ]] | already running on Java 11 in production
| wikidata/query/blazegraph | No (doc: [[ https://gerrit.wikimedia.org/r/c/integration/config/+/973088 | Gerrit 973088 ]]) | We rarely need to build Blazegraph itself. It would be nice to keep a working CI in case we need it, but if needed, we can disable those jobs
| wikidata/query/rdf | No (doc: [[ https://gerrit.wikimedia.org/r/c/integration/config/+/973088 | Gerrit 973088 ]]) | Blazegraph is not running on Java 11 and is unlikely to ever be
| wikimedia/discovery/discovery-maven-tool-configs | No | trivial to migrate
| wikimedia/discovery/discovery-parent-pom | No | trivial to migrate
| wikimedia-event-utilities | No |
| wmf-jvm-utils | No |