From 9798625cb97bfab4cb58396544dce8438e74d345 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 28 Oct 2022 23:10:54 +0000 Subject: jdk19 build issue git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904908 13f79535-47bb-0310-9956-ffa450edef68 --- poi/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poi') diff --git a/poi/build.gradle b/poi/build.gradle index 42ddb9d1fa..ec0aa868e9 100644 --- a/poi/build.gradle +++ b/poi/build.gradle @@ -94,7 +94,7 @@ task compileJava9(type: JavaCompile) { dependsOn 'compileJava' javaCompiler = javaToolchains.compilerFor { - languageVersion = JavaLanguageVersion.of(jdkVersion >= 17 ? 17 : 11) + languageVersion = JavaLanguageVersion.of(jdkVersion) } destinationDirectory = file(JAVA9_OUT + VERSIONS9) source = file(JAVA9_SRC) -- cgit v1.2.3