You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2023/04/02 07:38:54 UTC

No more Java 1.8 with ASF Jenkins CI?

It looks like ASF Jenkins CI can no longer run on Java 1.8. It appears
we have lost the ability to test our HC for Java 1.8 compatibility with
the standard ASF CI infrastructure.

Oleg

---

[HttpComponents Client 5.2.x] $
/home/jenkins/tools/java/latest1.8/bin/java -cp /home/jenkins/maven35-
agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-
2.6.0.jar:/home/jenkins/tools/maven/latest3/conf/logging
jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3
/home/jenkins/agent.jar /home/jenkins/maven35-interceptor.jar
/home/jenkins/maven3-interceptor-commons.jar 32779
Exception in thread "main" java.lang.UnsupportedClassVersionError:
hudson/remoting/Launcher has been compiled by a more recent version of
the Java Runtime (class file version 55.0), this version of the Java
Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at
java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(Clas
sRealm.java:425)
	at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(Se
lfFirstStrategy.java:42)
	at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClas
s(ClassRealm.java:271)
	at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.j
ava:247)
	at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.j
ava:239)
	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:136)
	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:66)
ERROR: Failed to parse POMs

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: No more Java 1.8 with ASF Jenkins CI?

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Sun, 2023-04-02 at 10:51 +0200, Michael Osipov wrote:
> Am 2023-04-02 um 09:38 schrieb Oleg Kalnichevski:
> > It looks like ASF Jenkins CI can no longer run on Java 1.8. It
> > appears
> > we have lost the ability to test our HC for Java 1.8 compatibility
> > with
> > the standard ASF CI infrastructure.
> 
> This cannot be right, please open an INFRA issue.
> 

It looks like the Maven runtimes used by the Jenkins CI have been
configured to support Maven Toolchain and they can automatically pick
the correct version of JDK to build artifacts.

All is well.

Oleg  


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: No more Java 1.8 with ASF Jenkins CI?

Posted by Michael Osipov <mi...@apache.org>.
Am 2023-04-02 um 09:38 schrieb Oleg Kalnichevski:
> It looks like ASF Jenkins CI can no longer run on Java 1.8. It appears
> we have lost the ability to test our HC for Java 1.8 compatibility with
> the standard ASF CI infrastructure.

This cannot be right, please open an INFRA issue.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org