Hi everyone,
I would like to propose to move to the maximum supported version of Java in our docker image, instead of the minimum one (for example currently this means keeping Java 21 for 16.10.x and move to Java 25 for the other branches).
More recent versions generally have various improvements and since they are officially supported there is no reason to stick to the minimum supported version. The maximum supported version also happen to be the most tested version in our CI. We could also imagine an extension that would require a more recent Java version than the minimum supported version of XWiki, right now it could not be used with the docker image.
I would also like to take this into account in release time automation (which is currently in charge of keeping in sync jdbc drivers and libreoffice) based on the information we already have in our pom (the property xwiki.java.version.support). Of course the version would be switched only if there is indeed a tomcat image which does exist for that version of Java (tomcat images are often lagging a bit behind so we usually cannot switch right away when a new LTS is declared supported).
WDYT ?