aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-10-28 23:10:54 +0000
committerPJ Fanning <fanningpj@apache.org>2022-10-28 23:10:54 +0000
commit9798625cb97bfab4cb58396544dce8438e74d345 (patch)
tree8bdcd00e502f4cf9574e00f2f2d500edfa586f48 /poi-ooxml
parent07f73d85be53a5b6148b3e001bf7368642b12a35 (diff)
downloadpoi-9798625cb97bfab4cb58396544dce8438e74d345.tar.gz
poi-9798625cb97bfab4cb58396544dce8438e74d345.zip
jdk19 build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904908 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r--poi-ooxml/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle
index 2571146f90..ed9c007d23 100644
--- a/poi-ooxml/build.gradle
+++ b/poi-ooxml/build.gradle
@@ -207,7 +207,7 @@ task compileTest9(type: JavaCompile) {
dependsOn 'compileTestJava', ':poi:testJar'
javaCompiler = javaToolchains.compilerFor {
- languageVersion = JavaLanguageVersion.of(jdkVersion >= 17 ? 17 : 11)
+ languageVersion = JavaLanguageVersion.of(jdkVersion)
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
}
destinationDirectory = file(TEST9_OUT + VERSIONS9)