From c5ad9550ef732ad7909f23c3537ea7f2537b41e3 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Wed, 18 Sep 2024 09:44:34 +0200 Subject: [PATCH] Stop testing JDK 22 --- Jenkinsfile | 4 +--- pom.xml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 337d04faa96..9bb9415e94c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -194,9 +194,7 @@ stage('Configure') { // We want to enable preview features when testing newer builds of OpenJDK: // even if we don't use these features, just enabling them can cause side effects // and it's useful to test that. - new JdkBuildEnvironment(version: '22', testCompilerTool: 'OpenJDK 22 Latest', - testLauncherArgs: '--enable-preview', - condition: TestCondition.AFTER_MERGE), + // The following JDKs aren't supported by Hibernate ORM out-of-the box yet: // they require the use of -Dnet.bytebuddy.experimental=true. // Make sure to remove that argument as soon as possible diff --git a/pom.xml b/pom.xml index 000d99c942e..bba0ad136ee 100644 --- a/pom.xml +++ b/pom.xml @@ -209,7 +209,7 @@ ${java.home} ${java-version.main.compiler.java_home}/bin/javac - 17 or 21 + 17, 21 or 23 ${jdk.min.version}