-
Notifications
You must be signed in to change notification settings - Fork 49
Enable graalvm 25 #1746
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
Enable graalvm 25 #1746
Conversation
| 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") |
There was a problem hiding this comment.
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
|
I feel like a lot of these changes should be in the project template / build tools. @melix WDYT? |
|
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. |
|
Yes, I agree. This is needed only for hibernate reactive tests so I will try to move it there just where needed. |
This reverts commit 22ef36b.
|
graalvm 25 failing with latest jooq, requires bunch of build time initialization changes - resolved |
|
|
ping @graemerocher , @dstepanov |



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