diff --git a/Jenkinsfile b/Jenkinsfile index 4e006655e6a8..038205a5ed7f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,11 +49,11 @@ stage('Configure') { // and it's useful to test that. new BuildEnvironment( testJdkVersion: '20', testJdkLauncherArgs: '--enable-preview' ), new BuildEnvironment( testJdkVersion: '21', testJdkLauncherArgs: '--enable-preview' ), + new BuildEnvironment( testJdkVersion: '23', testJdkLauncherArgs: '--enable-preview' ), // 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 // -- generally that requires upgrading bytebuddy after the JDK goes GA. - new BuildEnvironment( testJdkVersion: '23', testJdkLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true' ), new BuildEnvironment( testJdkVersion: '24', testJdkLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true' ) ]; diff --git a/settings.gradle b/settings.gradle index 43d882552e9b..ec779c430f19 100644 --- a/settings.gradle +++ b/settings.gradle @@ -73,6 +73,8 @@ dependencyResolutionManagement { } libs { def antlrVersion = version "antlr", "4.13.0" + // WARNING: When upgrading to a version of bytebuddy that supports a new bytecode version, + // make sure to remove the now unnecessary net.bytebuddy.experimental=true in relevant CI jobs (Jenkinsfile). def byteBuddyVersion = version "byteBuddy", "1.14.18" def classmateVersion = version "classmate", "1.5.1" def geolatteVersion = version "geolatte", "1.9.1"