Skip to content

Add stable option for -H:IncludeResources and -H:ExcludeResources #7354

Closed
@jerboaa

Description

@jerboaa

Describe the issue
With a GraalVM dev build (24.0) when -H:IncludeResources=path/to/image.jpg is being used it gets flagged as an experimental option. For example, in my case it produces the following warnings on the native-image invocation:

Warning: The option '-H:IncludeResources=Grace_M._Hopper.jp2,MyFreeMono.ttf,MyFreeSerif.ttf' 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.

As per the suggestion, I'm filing this issue to consider this as an API option. Or otherwise, how would one add resources to the image in 23.1+ without running into the experimental options issue?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions