-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Pass org.graalvm.version property if set #6380
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
Conversation
This fixes Version.getCurrent() invocations for builds, not modifying the base JDK. Closes: oracle#6379
|
Note that and here: |
|
I don't think this is needed when you have graalvm/mandrel-packaging@d0ba206 in place, or am I missing something? The builder forwards all external arguments anyway: |
|
The definition passed in the launcher is only used by the jvm running As @jerboaa points out in #6379, this used to work before https://github.com/oracle/graal/pull/6302/files#diff-9e053bec9eca0799896bd471363fa6aa1df70269e454b89dff1ea5fb844a480cL830 |
That fix is to actually set the property in the bash launcher. So we have this situation: Yet, when we launch |
Apparently that's not quite the same. This would mean that users would need to be passing the property to every |
|
I'm closing this as we are restoring the previous behavior as part of #6377. |
This fixes Version.getCurrent() invocations for builds, not modifying the base JDK.
Closes: #6379