You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-H:±UnlockExperimentalVMOptions was introduced in GraalVM for JDK 21 (see oracle/graal#7105).
When building an app natively, the following warning appears:
Warning: The option '-H:IncludeResources=rabbitmq-amqp-client.properties|version.properties' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions'in the future.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
Describe the bug
-H:±UnlockExperimentalVMOptions was introduced in GraalVM for JDK 21 (see oracle/graal#7105).
When building an app natively, the following warning appears:
This warning comes from:
rabbitmq-java-client/src/main/resources/META-INF/native-image/com.rabbitmq/amqp-client/native-image.properties
Line 1 in b4e86c7
Reproduction steps
...
Expected behavior
Compilation without the warning
Additional context
The warning is usually solved by wrapping the mention arg (or removing the need of it). Something like:
-H:+UnlockExperimentalVMOptions -H:IncludeResources=rabbitmq-amqp-client.properties|version.properties -H:-UnlockExperimentalVMOptions
However, I'm unsure regarding the behavior of it on lower JDK versions
The text was updated successfully, but these errors were encountered: