Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep same classpath order as surefire #450

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

ziyilin
Copy link
Contributor

@ziyilin ziyilin commented Jun 12, 2023

The elements' order on the classpath for native-image building must be consistent with the testing time when the graalvm agent is enabled to record the native image configurations.

Different classpath order may lead to different classes that have the same name are loaded at agent recording time and native image building time. The two versions of the same name class can have different reflections. In this case, the different order will lead to native image runtime error.

The elements' order on the classpath for native-image building must be
consistent with the testing time when the graalvm agent is enabled to
record the native image configurations.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 12, 2023
@melix melix merged commit 1c4c174 into graalvm:master Jul 12, 2023
@melix melix added this to the 0.9.24 milestone Jul 12, 2023
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