To get rid of the noise of warnings from native-image, like:
Warning: The option '-H:Path=target' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: The option '-H:Name=hello-world-classes' 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.
And:
2 experimental option(s) unlocked:
- '-H:Name' (alternative API option(s): -o hello-world-classes; origin(s): command line)
- '-H:Path': Use the '-o' option instead. (origin(s): command line)
To get rid of the noise of warnings from
native-image
, like:And:
I will make updates to follow the advice given.