Skip to content

Commit 8757b0c

Browse files
authored
Use GraalVM for JDK 21 in GitHub workflow (google#2765)
GraalVM for JDK 17 does not receive any updates anymore (at least not under the "GraalVM Free Terms and Conditions") See https://github.com/graalvm/setup-graalvm/tree/v1.2.4?tab=readme-ov-file#notes-on-oracle-graalvm-for-jdk-17
1 parent 5ec834f commit 8757b0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: "Set up GraalVM"
3535
uses: graalvm/setup-graalvm@6f327093bb6a42fe5eac053d21b168c46aa46f22 # v1.2.4
3636
with:
37-
java-version: '17'
37+
java-version: '21'
3838
distribution: 'graalvm'
3939
# According to documentation in graalvm/setup-graalvm this is used to avoid rate-limiting issues
4040
github-token: ${{ secrets.GITHUB_TOKEN }}

test-graal-native-image/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Technically it would also be possible to directly configure Native Image test ex
1212

1313
## Reflection metadata
1414

15-
Native Image creation requires configuring which class members are accessed using reflection, see the [GraalVM documentation](https://www.graalvm.org/22.3/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json).
15+
Native Image creation requires configuring which class members are accessed using reflection, see the [GraalVM documentation](https://www.graalvm.org/jdk21/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json).
1616

1717
The file [`reflect-config.json`](./src/test/resources/META-INF/native-image/reflect-config.json) contains this reflection metadata.
1818

0 commit comments

Comments
 (0)