Skip to content

Commit c67db4a

Browse files
authored
bump jdk to 21 (#62)
1 parent 43fc6d5 commit c67db4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dockerjdk17.env renamed to dockerjdk21.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#LS_JAVA_OPTS="-Xms256m -Xmx256m -XX:MaxMetaspaceSize=256m"
22
# Common LS options (can be overridden from ENV e.g. in .travis.yml) :
33
# - `-Xregexp.interruptible=true -Xcompile.invokedynamic=true -Xjit.threshold=0` LS base-line
4-
# - set add-exports and add-opens to those required to run logstash under jdk17
4+
# - set add-exports and add-opens to those required to run logstash under jdk21
55
# - use default garbage collection G1GC
66
# - `-v -W1` print JRuby version but do not go verbose
77
JRUBY_OPTS=-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -J--add-opens=java.base/java.security=ALL-UNNAMED -J--add-opens=java.base/java.io=ALL-UNNAMED -J--add-opens=java.base/java.nio.channels=ALL-UNNAMED -J--add-opens=java.base/sun.nio.ch=ALL-UNNAMED -J--add-opens=java.management/sun.management=ALL-UNNAMED -Xregexp.interruptible=true -Xcompile.invokedynamic=true -Xjit.threshold=0 -J-XX:+PrintCommandLineFlags -v -W1

travis/matrix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ stages:
1515

1616
env:
1717
jobs:
18-
- ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env
18+
- ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk21.env
1919
- ELASTIC_STACK_VERSION=7.x
20-
- SNAPSHOT=true ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env
20+
- SNAPSHOT=true ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk21.env
2121
- SNAPSHOT=true ELASTIC_STACK_VERSION=7.x
2222

2323
jobs:
@@ -26,6 +26,6 @@ jobs:
2626
<<: *_performance
2727
env: ELASTIC_STACK_VERSION=7.x
2828
- <<: *_performance
29-
env: ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env
29+
env: ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk21.env
3030
- <<: *_performance
31-
env: SNAPSHOT=true ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk17.env
31+
env: SNAPSHOT=true ELASTIC_STACK_VERSION=8.x DOCKER_ENV=dockerjdk21.env

0 commit comments

Comments
 (0)