Restore net.bytebuddy.experimental=true for JDK 23

Bytebuddy isn't ready for that yet.
This commit is contained in:
Yoann Rodière 2024-02-20 15:53:29 +01:00
parent 5bee9c3097
commit 3812641430
1 changed files with 5 additions and 5 deletions

2
Jenkinsfile vendored
View File

@ -49,11 +49,11 @@ stage('Configure') {
new BuildEnvironment( testJdkVersion: '20', testJdkLauncherArgs: '--enable-preview' ), new BuildEnvironment( testJdkVersion: '20', testJdkLauncherArgs: '--enable-preview' ),
new BuildEnvironment( testJdkVersion: '21', testJdkLauncherArgs: '--enable-preview' ), new BuildEnvironment( testJdkVersion: '21', testJdkLauncherArgs: '--enable-preview' ),
new BuildEnvironment( testJdkVersion: '22', testJdkLauncherArgs: '--enable-preview' ), new BuildEnvironment( testJdkVersion: '22', testJdkLauncherArgs: '--enable-preview' ),
new BuildEnvironment( testJdkVersion: '23', testJdkLauncherArgs: '--enable-preview' )
// The following JDKs aren't supported by Hibernate ORM out-of-the box yet: // The following JDKs aren't supported by Hibernate ORM out-of-the box yet:
// they require the use of -Dnet.bytebuddy.experimental=true. // they require the use of -Dnet.bytebuddy.experimental=true.
// Make sure to remove that argument as soon as possible // Make sure to remove that argument as soon as possible
// -- generally that requires upgrading bytebuddy after the JDK goes GA. // -- generally that requires upgrading bytebuddy after the JDK goes GA.
new BuildEnvironment( testJdkVersion: '23', testJdkLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true' )
]; ];
if ( env.CHANGE_ID ) { if ( env.CHANGE_ID ) {