Skip to content

Commit

Permalink
Use GraalVM for JDK 21 in GitHub workflow
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Marcono1234 authored Oct 16, 2024
1 parent 5ec834f commit e3c57ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: "Set up GraalVM"
uses: graalvm/setup-graalvm@6f327093bb6a42fe5eac053d21b168c46aa46f22 # v1.2.4
with:
java-version: '17'
java-version: '21'
distribution: 'graalvm'
# According to documentation in graalvm/setup-graalvm this is used to avoid rate-limiting issues
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion test-graal-native-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Technically it would also be possible to directly configure Native Image test ex

## Reflection metadata

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).
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).

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

Expand Down

0 comments on commit e3c57ad

Please sign in to comment.