Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
java: [ '17', '21', '24' ]
java: [ '17', '21', '25' ]
profiles: ['native', 'native,native-exported']
runs-on: ${{ matrix.os }}
steps:
Expand Down
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>0.10.6</version>
<version>0.11.2</version>
<extensions>true</extensions>
<executions>
<execution>
Expand All @@ -346,6 +346,16 @@
<fallback>false</fallback>
<verbose>true</verbose>
<buildArgs>
<!--
Only required for GraalVM for JDK 17.
The option is deprecated in later versions and could cause failures on later GraalVM versions.
-->
<arg>-H:+AllowDeprecatedBuilderClassesOnImageClasspath</arg>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only necessary for GraalVM JDK 17. On later versions this option is deprecated so at some point this might cause failures if the option is removed. At that point I would recommend just dropping builds for GraalVM JDK 17.


<!--
The initialization flags below seem only necessary for GraalVM for JDK 17 and 21.
If CI checks for either of these GraalVM versions are dropped, this should be cleaned up.
-->
<!-- required to allow junit-pioneer to compile with strict image heap enabled -->
<arg>--initialize-at-build-time=org.junitpioneer.jupiter.issue.IssueExtensionExecutionListener</arg>
<!--
Expand All @@ -357,6 +367,8 @@
<arg>--initialize-at-build-time=org.junit.jupiter.api.parallel.ResourceLock</arg>
<arg>--initialize-at-build-time=org.junit.jupiter.api.parallel.ResourceLockTarget</arg>
<arg>--initialize-at-build-time=org.junit.jupiter.api.parallel.ResourceAccessMode</arg>
<arg>--initialize-at-build-time=org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector$1</arg>
<arg>--initialize-at-build-time=org.junit.platform.commons.support.scanning.DefaultClasspathScanner</arg>
Copy link
Contributor Author

@kkriske kkriske Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these initialization options seem to no longer be required on JDK 25. They're only here for 17 and 21.

</buildArgs>
</configuration>
</plugin>
Expand Down
Loading