Skip to content

Commit 8cc58b5

Browse files
authored
Set Java version to 21 for use in bwc tests (#18058)
My understanding is that BwcSetupExtension.java uses this Java version to compile this code when another branch checks out this branch to use in backward compatibility tests. This needs to be JDK21 in order for this code to compile correctly. Signed-off-by: Andrew Ross <[email protected]>
1 parent 1ce861b commit 8cc58b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/java-versions.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# are 'java' or 'openjdk' followed by the major release number.
1515

1616
# See please https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
17-
OPENSEARCH_BUILD_JAVA=openjdk17
18-
OPENSEARCH_RUNTIME_JAVA=java11
17+
OPENSEARCH_BUILD_JAVA=openjdk21
18+
OPENSEARCH_RUNTIME_JAVA=java21
1919
GRADLE_TASK=build
2020
GRADLE_EXTRA_ARGS=

0 commit comments

Comments
 (0)