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

Fix version after which org.graalvm.nativeimage needs to be exported #36063

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

zakkak
Copy link
Contributor

@zakkak zakkak commented Sep 21, 2023

The goal is to export the module after 23.0.x not after 23.0.0, i.e., when using 23.0.1 we should not export it.

Wrong version introduced in #35377

Supersedes: #36058

Closes: #36053

@zakkak zakkak requested a review from gsmet September 21, 2023 13:12
@@ -53,7 +53,7 @@ void addExportsToNativeImage(BuildProducer<JPMSExportBuildItem> features) {
features.produce(new JPMSExportBuildItem("org.graalvm.sdk", "org.graalvm.nativeimage.impl", null,
GraalVM.Version.VERSION_23_1_0));
features.produce(new JPMSExportBuildItem("org.graalvm.nativeimage", "org.graalvm.nativeimage.impl",
GraalVM.Version.VERSION_23_0_0));
GraalVM.Version.VERSION_23_1_0));
Copy link
Member

Choose a reason for hiding this comment

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

I'm surprised it's the only one that needs changing? I would have expected all the current entries to be adjusted?

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 the only place the constructor setting the exportSince is used. Thankfully we don't have to export many things :)

@quarkus-bot
Copy link

quarkus-bot bot commented Sep 21, 2023

Failing Jobs - Building 2fdf6d5

Status Name Step Failures Logs Raw logs Build scan
JVM Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 17
✔️ JVM Tests - JDK 20
Native Tests - Data7 Build ⚠️ Check → Logs Raw logs

@zakkak
Copy link
Contributor Author

zakkak commented Sep 22, 2023

CI failed due to timeout.

@gsmet gsmet merged commit 52ff285 into quarkusio:main Sep 22, 2023
@quarkus-bot quarkus-bot bot added this to the 3.5 - main milestone Sep 22, 2023
@zakkak zakkak deleted the 2023-09-21-fix-nativeimage-export-v2 branch September 22, 2023 14:03
@gsmet gsmet modified the milestones: 3.5 - main, 3.4.2 Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WARNING: Unknown module: org.graalvm.nativeimage specified to --add-exports when using Mandrel 23.0.1
2 participants