Skip to content

Conversation

@radovanradic
Copy link
Contributor

I thought we might enable JDK 25 build for graalvm native to verify builds are passing for 25 as well.

buildArgs.add("--report-unsupported-elements-at-runtime")
if (System.getenv("GRAALVM_HOME")?.contains("graal") && System.getenv("GRAALVM_HOME")?.contains("25")) {
logger.quiet("Enabling SharedArenaSupport for GraalVM 25")
buildArgs.add("-H:+SharedArenaSupport")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need to enable this flag or else hibernate reactive builds are failing with the error

Error: Exception in thread "vert.x-eventloop-thread-4" com.oracle.svm.core.jdk.UnsupportedFeatureError: Support for Arena.ofShared is not active: enable with -H:+SharedArenaSupport

@graemerocher
Copy link
Contributor

I feel like a lot of these changes should be in the project template / build tools. @melix WDYT?

@sdelamo sdelamo moved this to Build Infrastructure in 5.0.0 Release Nov 11, 2025
@melix
Copy link
Contributor

melix commented Nov 12, 2025

We don't have any specific support for native in the build plugins, since these are on test projects. That said I'm not sure if the changes here should be done everywhere.

@radovanradic
Copy link
Contributor Author

Yes, I agree. This is needed only for hibernate reactive tests so I will try to move it there just where needed.

@radovanradic
Copy link
Contributor Author

radovanradic commented Nov 12, 2025

graalvm 25 failing with latest jooq, requires bunch of build time initialization changes - resolved

@sonarqubecloud
Copy link

@radovanradic radovanradic requested a review from sdelamo November 19, 2025 15:18
@radovanradic
Copy link
Contributor Author

ping @graemerocher , @dstepanov

@radovanradic radovanradic merged commit 41703f2 into 7.0.x Nov 21, 2025
48 checks passed
@github-project-automation github-project-automation bot moved this from Build Infrastructure to Done in 5.0.0 Release Nov 21, 2025
@radovanradic radovanradic deleted the enable-graalvm-25 branch November 21, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants