Skip to content

Commit

Permalink
Bump Elasticsearch to a minimum of JDK 21 (#112252)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHegarty authored Sep 11, 2024
1 parent d7cc407 commit 71d4648
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .ci/java-versions-aarch64.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# build and test Elasticsearch for this branch. Valid Java versions
# are 'java' or 'openjdk' followed by the major release number.

ES_BUILD_JAVA=jdk17
ES_BUILD_JAVA=jdk21
2 changes: 1 addition & 1 deletion .ci/java-versions-fips.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# build and test Elasticsearch for this branch. Valid Java versions
# are 'java' or 'openjdk' followed by the major release number.

ES_BUILD_JAVA=openjdk17
ES_BUILD_JAVA=openjdk21
2 changes: 1 addition & 1 deletion .ci/java-versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# build and test Elasticsearch for this branch. Valid Java versions
# are 'java' or 'openjdk' followed by the major release number.

ES_BUILD_JAVA=openjdk17
ES_BUILD_JAVA=openjdk21
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17
21
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17
21
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17
21
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Set<String> getSupportedAnnotationTypes() {

@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.RELEASE_17;
return SourceVersion.RELEASE_21;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Set<String> getSupportedAnnotationTypes() {

@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latest();
return SourceVersion.RELEASE_21;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Set<String> getSupportedAnnotationTypes() {

@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.RELEASE_17;
return SourceVersion.RELEASE_21;
}

@Override
Expand Down

0 comments on commit 71d4648

Please sign in to comment.