Handle -H:±UnlockExperimentalVMOptions
warning due to -H:ReflectionConfigurationResources
when compiling native applications in Java with GraalVM 23.1+
#4316
Labels
duplicate
A duplicate of another issue
Please describe the feature request.
Getting a warning during native image compilation when
io.micrometer:micrometer-registry-prometheus:1.11.5
is included as a dependency in GraalVM Native image buildsRationale
As per oracle/graal#7105, you will need to wrap
-H:±UnlockExperimentalVMOptions
when using-H:ReflectionConfigurationResources
or else io.micrometer:micrometer-registry-prometheus will no longer work in future GraalVM versionsAdditional context
oracle/graal#7105
Karm/mandrel-integration-tests#184
quarkusio/quarkus#35772
quarkusio/quarkus#35788
oracle/graal#7370
oracle/graal#7709
The text was updated successfully, but these errors were encountered: