Skip to content

Commit

Permalink
Revert "Fix building with JDK 20-ea due to missing experimental flag …
Browse files Browse the repository at this point in the history
…in java17Test"

This reverts commit 3352486.
  • Loading branch information
beikov committed Sep 2, 2022
1 parent e85bd73 commit 8a55596
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hibernate-core/hibernate-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,6 @@ if ( gradle.ext.javaVersions.test.release.asInt() >= 17 ) {
useJUnitPlatform()
testClassesDirs = sourceSets.testJava17.output.classesDirs
classpath = sourceSets.testJava17.runtimeClasspath

if ( gradle.ext.javaVersions.test.launcher.asInt() >= 19 ) {
logger.warn( "The version of Java bytecode that will be tested is not supported by Bytebuddy by default. " +
" Setting 'net.bytebuddy.experimental=true'." )
systemProperty 'net.bytebuddy.experimental', true
}
}

testClasses.dependsOn compileTestJava17Java
Expand Down

0 comments on commit 8a55596

Please sign in to comment.