-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Backport of b957ee40f302d54edf704b36120ef21fe977453a on top of vm-23.1.3 #9516
Conversation
@zakkak FYI. Probably something to discuss for https://github.com/graalvm/graalvm-community-jdk21u |
FYI: @ola-lis has created an official ticket in My Oracle Support requesting fix for the Helidon 4 Graal.js on native-image for JDK21 problem: Is this the right way for an Oracle Java SE JDK and JRE licensee to request help from Oracle GraalVM team officially? |
@JaroslavTulach we will have a look at your PR next week, August is vacation time. If that is easy to backport, we can do it. You change seems quite big already; @peter-hofer will have a look and decide how easy and reasonable it is to merge that to our GraalVM-23.1. branch. |
Tracked internally as GR-58288. |
Thank you all for your feedback and explanations. I should probably add that I have experimented with I am mentioning this for completeness. Obviously real support for my use-case would be better than hacking with |
We can add a way to disable existing substitutions via an option, and backport that option to the LTS versions |
How would returning |
Yes,
Helidon is using Thank you for helping Enso. |
Helidon team has released version 4.1.2 which contains a fix and allows us to simply apply few substitutions and get our application working in native image: enso-org/enso#10783 (comment) |
According to @eregon this is the fix that should be backported into GraalVM based on JDK21 to make use of Helidon Graal.js possible.
Steps to reproduce the original problem as provided by @4e6:
with here in provided fix I can build GraalVM as:
then I can replay the above steps with the newly built GraalVM at
/graal/sdk/mxbuild/linux-amd64/GRAALVM_350A482ABE_JAVA21/graalvm-350a482abe-java21-23.1.3
and everything runs smoothly:Please consider my PR or your own backport b957ee4 for backporting into
release/graal-vm/23.1
branch. CCing @chumer.