Skip to content

Commit 00d01f9

Browse files
authored
Upgrade Java runtime 17 to 25 (#127)
1 parent 6023efb commit 00d01f9

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
- uses: actions/checkout@v3
2121
with:
2222
fetch-depth: 0
23-
- name: Set up JDK 17
23+
- name: Set up JDK 25
2424
uses: actions/setup-java@v3
2525
with:
2626
distribution: 'temurin'
27-
java-version: '17'
27+
java-version: '25'
2828
cache: 'gradle'
2929
- name: Build with Gradle
3030
run: chmod +x gradlew && ./gradlew assemble

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amazoncorretto:17-al2-jdk
1+
FROM amazoncorretto:25-al2023-jdk@sha256:3371b8e140b9d38a267c8ee129d154049a78cd8af79fc68b7538d468466fcdd5
22

33
# Create a user
44
RUN yum update -y && \

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Not evaluated are: RAM utilization, compression, payloads > 1 MB.
5353

5454
## Results
5555

56-
The benchmarks are written with [JMH](http://openjdk.java.net/projects/code-tools/jmh/) and for Java 17.
56+
The benchmarks are written with [JMH](http://openjdk.java.net/projects/code-tools/jmh/) and for Java 25.
5757

5858
The results here-below were computed on February the 28th, 2026 with the following libraries and versions:
5959

@@ -138,7 +138,7 @@ JMH info:
138138

139139
Prerequisites:
140140

141-
* JDK 17; and JAVA_HOME set.
141+
* JDK 25; and JAVA_HOME set.
142142
* make
143143

144144
By default, running `./run ser` (`./run deser` respectively) will run
@@ -177,7 +177,7 @@ Build and run:
177177

178178
Prerequisites:
179179

180-
* JDK 17; and JAVA_HOME set.
180+
* JDK 25; and JAVA_HOME set.
181181
* make
182182
* [packer](https://www.packer.io/)
183183
* [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) and configured

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ application {
1414

1515
java {
1616
toolchain {
17-
sourceCompatibility = 17
18-
targetCompatibility = 17
17+
sourceCompatibility = 25
18+
targetCompatibility = 25
1919
}
2020
}
2121

0 commit comments

Comments
 (0)