Skip to content

Conversation

@graalvmbot
Copy link
Collaborator

In this PR we introduce weekly native image -H:Preserve=all tests to the graal GitHub actions. These tests aim to verify that images that depend on popular maven libraries can be built when preserving everything on the classpath.

The image build that the tests perform contains all of the transitive compile, runtime and provided scope dependencies (including optional dependencies) of the tested library on the classpath and use an empty DummyMain as the image entry point. If an image build fails with a --initialize-at-build-time error, the test will fetch the error-message-suggested --initialize-at-build-time argument and re-attempt the build, repeating this until either the build finishes successfully, or a different error occurs.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants