-
Notifications
You must be signed in to change notification settings - Fork 4.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
Toolchains needs a way to distinguish between the new Oracle GraalVM and GraalVM CE distributions #25521
Comments
FYI @fniephaus, @melix. |
This issue basically is a follow-up to an earlier comment of mine as the situation now changed and using |
It seems that gradle/subprojects/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JvmVendor.java Line 30 in 07e97bf
So that means it has never worked with GraalVM Enterprise Edition nor does it currently work with the new Oracle GraalVM. I'm not sure adding GraalVM to Note that we plan to drop |
Thank you for your interest in Gradle! This feature request is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before it gets implemented. |
Expected Behavior
When requiring GraalVM as a JVM implementation, I expect to be able to choose between the Oracle GraalVM and GraalVM CE distributions (which differ in the license).
Current Behavior (optional)
Gradle currently only offers
JvmVendorSpec.GRAAL_VM
, but actually the vendor of the new "Oracle GraalVM" distribution isjava.vendor = Oracle Corporation
, soJvmVendorSpec.GRAAL_VM
cannot be used to select "Oracle GraalVM".Context
I'm trying to add "Oracle GraalVM" / newly-versioned "GraalVM CE" support in the context of gradle/foojay-toolchains#31 and am struggling with how to distinguish between those two (in the same release version).
My proposal would be to also add
GRAAL_VM
toJvmImplementation
to be able to implement a mapping likeThe text was updated successfully, but these errors were encountered: