Skip to content

Commit 608910a

Browse files
Migrate to JDK 21
1 parent a950537 commit 608910a

11 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/publish-universe-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-java@v4
2727
with:
2828
distribution: 'corretto'
29-
java-version: '17'
29+
java-version: '21'
3030
check-latest: true
3131
cache-dependency-path: '**/pom.xml'
3232

.github/workflows/pull_request_benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/setup-java@v4
2323
with:
2424
distribution: 'corretto'
25-
java-version: '17'
25+
java-version: '21'
2626
check-latest: true
2727
cache-dependency-path: '**/pom.xml'
2828

.github/workflows/pull_request_universe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/setup-java@v4
2424
with:
2525
distribution: 'corretto'
26-
java-version: '17'
26+
java-version: '21'
2727
check-latest: true
2828
cache-dependency-path: '**/pom.xml'
2929

.github/workflows/run_benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/setup-java@v4
2626
with:
2727
distribution: 'corretto'
28-
java-version: '17'
28+
java-version: '21'
2929
check-latest: true
3030
cache-dependency-path: '**/pom.xml'
3131

benchmarks/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:8-jdk-bullseye
1+
FROM openjdk:21-bullseye
22

33
RUN apt-get update && apt-get install -y iputils-ping
44

cloud/corfu/corfu-client-example/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:8-jdk-alpine3.8
1+
FROM openjdk:21-bullseye
22

33
ADD ./build/libs/corfu-runtime-client-example.jar /app/
44

cloud/infrastructure/kibana/kibana-tools/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:8-jdk-alpine3.8
1+
FROM openjdk:21-bullseye
22

33
ADD ./lib /app/lib/
44
ADD ./*.jar /app/

gradle/idea-project.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ idea.project {
88
// can be used. E.g. Subversion, Mercurial.
99
vcs = "Git"
1010

11-
setLanguageLevel("1.8")
11+
setLanguageLevel("21")
1212
}
1313

1414
idea.module {

gradle/jacoco.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
jacoco {
3-
toolVersion = "0.8.12"
3+
toolVersion = "0.8.13"
44
}
55

66
jacocoTestReport {

gradle/java.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
group = 'org.corfudb'
22

33
java {
4-
sourceCompatibility = JavaVersion.VERSION_17
5-
targetCompatibility = JavaVersion.VERSION_17
4+
sourceCompatibility = JavaVersion.VERSION_21
5+
targetCompatibility = JavaVersion.VERSION_21
66

77
withJavadocJar()
88
withSourcesJar()

0 commit comments

Comments
 (0)