-
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
[native-image --version] No way to tell version in use when JDK isn't jlinked nor compiled to binary #6319
Labels
Comments
/cc @fniephaus |
jerboaa
added a commit
to jerboaa/graal
that referenced
this issue
Mar 30, 2023
This allows for the bash launcher to print a sensible `native-image --version` output. Otherwise it would only contain OpenJDK properties, which gives no info on the actual code level in use. Also add the vendor version to the build output as otherwise, the same issue applies. Only Java version information is present. Closes: oracle#6319
jerboaa
added a commit
to jerboaa/graal
that referenced
this issue
Mar 30, 2023
This allows for the bash launcher to print a sensible `native-image --version` output. Otherwise it would only contain OpenJDK properties, which gives no info on the actual code level in use. Also add the vendor version to the build output as otherwise, the same issue applies. Only Java version information is present. Closes: oracle#6319
@fniephaus Would you have any eta for something like this getting integrated? The version change produces a lot of noise in our CI. |
I will reach out tomorrow and hope we can merge a fix asap and within the next 48 hours. |
I've just opened #6356 with a more comprehensive fix for this (incl updating the build output infra). PTAL and let me know what you think. Thanks! |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
After #6302 there is no way for us (Mandrel) to tell which codeline is in use based on the
native-image --version
output. We use the bash launcher (deliberately) and don't jlink the base JDK that is in use (plain OpenJDK).java.vendor.version
is a protected property, which cannot be set on the command line:That means, the new
native-image --version
output solely contains JDK version properties, which is unfortunate since we cannot tell which code line is in use (23.x or 24.x or...).Example (of a recent mandrel build from graal master):
The text was updated successfully, but these errors were encountered: