Multiple -H:+UnlockExperimentalVMOptions
and -H:-UnlockExperimentalVMOptions
used when invoking native-image
in the image build
#40555
Labels
Describe the bug
When building a Quarkus project to native, I noticed that the
native-image
command contains multiple-H:+UnlockExperimentalVMOptions
and-H:-UnlockExperimentalVMOptions
, which I believe are exclusive to each other.Here is the output:
GraalVM installed locally
Building from a Docker Container
Expected behavior
Only
-H:+UnlockExperimentalVMOptions
is specified or nothing at all if no experimental VM options are setActual behavior
Several
-H:+UnlockExperimentalVMOptions
and-H:-UnlockExperimentalVMOptions
in thenative-image
invocation.How to Reproduce?
quarkus-rest-jsonb
extensionmvn clean package -Dnative
Output of
uname -a
orver
Darwin MacBook-Pro-de-George 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64
Output of
java -version
openjdk version "21.0.2" 2024-01-16
Mandrel or GraalVM version (if different from Java)
OpenJDK Runtime Environment GraalVM CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30)
Quarkus version or git rev
3.10.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.6
Additional information
No response
The text was updated successfully, but these errors were encountered: