-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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] Quarkus not able to parse GraalVM version in upcoming 21.1 #16131
Comments
Graal releases have for a long time included a
So I think it's time to start parsing this file instead of relying on the |
The
|
Hello @jerboaa, I haven't been following Mandrel development work, but I was under the impression that it was changes/enhancements/fixes on top of Graal VM (and not on top of vanilla OpenJDK Java). Isn't that the case? If so, perhaps it needs to follow similar constructs/semantics that Graal VM follows for generating this |
I don't know how complex it would be but I would also be in favor of what @jaikiran proposes (and adjust Mandrel if needed to have similar properties). |
I believe the following sentence is the best description of Mandrel I have seen so far.
So to make it a bit more clear: As such, unfortunately it doesn't seem to make sense to alter the |
Why? Having it there would make sense given you also package some GraalVM bits. I don't see why you're so reluctant to do that? |
One reason would be that in the RPM case, that file is being owned by the |
Also I think that Graal VM CE uses |
Mandrel might see itself as custom openjdk build but the java version is the least interesting part for Quarkus - its the base version of graalvm parts that are relevant for native-image command. relying on properties file inside a jdk distribution isn't really usable as we have no guarantee users have such setup. why is it that native-image in mandrel can't just do the same as graalvm native-image does and we adjust quarkus to attempt parse with both patterns? |
I'm +1 to keeping with We are looking to "align" with Graal VM for Either way, something needs to change. It's just a matter of coming to an agreement how quarkus parses the native image version and what the expected inputs are going to be for Mandrel/Graal. |
so |
I was thinking about |
Describe the bug
Quakus fails to parse the GraalVM version from
native-image --version
in upcoming GraalVM 21.1.This is because in the upcoming GraalVM the version is:
while in previous versions it used to be:
Note the removal of "Version" and the addition of "Java 11 CE".
Expected behavior
Quarkus should be able to get the version without any warning or error.
Actual behavior
Quarkus prints:
To Reproduce
-Dnative
andGRAALVM_HOME
pointing to GraalVM 21.1.0-devThe text was updated successfully, but these errors were encountered: