-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
area/housekeepingIssue type for generalized tasks not related to bugs or enhancementsIssue type for generalized tasks not related to bugs or enhancementsgood first issueGood for newcomersGood for newcomers
Milestone
Description
Description
In
quarkus/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java
Lines 878 to 881 in 4e66327
if ((graalVMVersion.compareTo(io.quarkus.runtime.graal.GraalVM.Version.VERSION_24_2_0) >= 0 && AMD64.active) || | |
graalVMVersion.compareTo(io.quarkus.runtime.graal.GraalVM.Version.VERSION_25_0_0) >= 0) { | |
addExperimentalVMOption(nativeImageArgs, "-H:+ForeignAPISupport"); | |
} |
we explicitly pass -H:+ForeignAPISupport
to native-image when GraalVM version is >= GraalVM for JDK 24
Starting with GraalVM for JDK 25 -H:+ForeignAPISupport
will be enabled by default, see oracle/graal#11335 so we no loger need to add it explicitly.
cc @Karm
Implementation ideas
Only enable the option for GraalVM for JDK 24 and AMD64 platform
Metadata
Metadata
Assignees
Labels
area/housekeepingIssue type for generalized tasks not related to bugs or enhancementsIssue type for generalized tasks not related to bugs or enhancementsgood first issueGood for newcomersGood for newcomers