Bump Elasticsearch to a minimum of JDK 21 (#112252)

This commit is contained in:
Chris Hegarty 2024-09-11 21:56:50 +01:00 committed by GitHub
parent d7cc407417
commit 71d4648105
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -52,7 +52,7 @@ public class AggregatorProcessor implements Processor {
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.RELEASE_17;
return SourceVersion.RELEASE_21;
}
@Override

View file

@ -48,7 +48,7 @@ public class ConsumeProcessor implements Processor {
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latest();
return SourceVersion.RELEASE_21;
}
@Override

View file

@ -44,7 +44,7 @@ public class EvaluatorProcessor implements Processor {
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.RELEASE_17;
return SourceVersion.RELEASE_21;
}
@Override