I'm investigating a bug that occur on Java 25 (all container, both controller and agent).
[16:25:10.392+01:00] - java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: jdk/net/Sockets [in thread "samples-ci-dotnet-core-main-225-sxrcq-djzx4-w70wq [#11] for JNLP4-connect connection to elca-jenkins-agent/172.30.70.87:50000 id=2054"]
[16:25:10.392+01:00] - at PluginClassLoader for apache-httpcomponents-client-5-api//org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.<clinit>(DefaultHttpClientConnectionOperator.java:87)
Not easy to integrate nor fully verified on new JDK support:
From @gounthar in feat(linux): add support on Linux for JDK 25 preview in Docker build configurations #1024 (comment):
From @lemeurherve in feat: add JDK25 images docker#2146 (comment):
From @dduportal in feat: add JDK25 images docker#2146 (comment):
And potentially causing issue:
From @jonesbusy in feat(linux): add support on Linux for JDK 25 preview in Docker build configurations #1024 (comment)
We should remove the use of
jlink(at least for new JDKs like JDK25 until proven flawless) in controller and agents images until we have a way to properly test it.WDYT?