Don't use net.bytebuddy.experimental=true for Java 23 testing

Should have been part of a previous Bytebuddy upgrade, but it seems we
forgot.
This commit is contained in:
Yoann Rodière 2024-11-21 15:51:04 +01:00
parent 38c73704cb
commit 01c13c4a45
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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' )
];