We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e35db0 commit e9f530cCopy full SHA for e9f530c
build.gradle
@@ -114,8 +114,10 @@ test {
114
115
// JVM flags for test compatibility with Java 17+
116
jvmArgs '--add-opens=java.base/java.nio=ALL-UNNAMED', // Apache Arrow memory access
117
- '--enable-native-access=ALL-UNNAMED', // zstd-jni native loading
118
- '--sun-misc-unsafe-memory-access=allow' // parquet-hadoop CleanUtil (upstream unfixed)
+ '--enable-native-access=ALL-UNNAMED' // zstd-jni native loading
+ if (JavaVersion.current() >= JavaVersion.VERSION_23) {
119
+ jvmArgs '--sun-misc-unsafe-memory-access=allow' // parquet-hadoop CleanUtil (upstream unfixed)
120
+ }
121
122
inputs.dir "$distroDir/test_data"
123
inputs.files("$distroDir/models", "$distroDir/config/default.groovy")
0 commit comments