-
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
Quarkus main fails to parse GraalVM version starting with GraalVM for JDK 22 #36246
Comments
For reference, the native-image output of such a build looks like this:
|
Could you clarify what this means? Switching to the new versioning scheme? Option 3: A quick-fix could also be a simple mapping by only looking at the JDK
That mapping has to be done internally in Quarkus due to the maven artefacts too. |
Right now Quarkus performs checks based on the "old" versioning scheme, i.e., GraalVM 22.3, GraalVM 23.1, etc. Option 2 suggests that Quarkus starts comparing versions using the new versioning scheme GraalVM for JDK 17.0.8, GraalVM for JDK 21.0.0 etc. (after detecting these builds are using it, to avoid cases where 22.3 is seen as newer than 21.0.0) |
Quarkus still supports 23.0, which has a JDK 17 and JDK 20 variant. Imo this is more approachable once GraalVM and JDK version numbers catch up (JDK 25). |
Temporarily works around quarkusio#36246, till we have a consensus on how to move forward in quarkusio#34161 Closes quarkusio#36246
Temporarily works around quarkusio#36246, till we have a consensus on how to move forward in quarkusio#34161 Closes quarkusio#36246
Temporarily works around quarkusio#36246, till we have a consensus on how to move forward in quarkusio#34161 Closes quarkusio#36246
Temporarily works around quarkusio#36246, till we have a consensus on how to move forward in quarkusio#34161 Closes quarkusio#36246
Describe the bug
It looks like labsJDK 22 dropped the "old" GraalVM versioning (e.g.,
23.1
) from its version:As a result, Quarkus fails to detect the version of GraalVM builds based on LabsJDK 22 onwards.
Expected behavior
Quarkus should detect the version and not crash.
Actual behavior
Quarkus fails to detect the version and crashes.
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
Relates to #34161
Possible fixes:
release
file that accompanies the GraalVM build as discussed in Improve GraalVM/Mandrel version detection #34161 (comment)The text was updated successfully, but these errors were encountered: