Skip to content

--exclude-config not working when provided after -jar #3742

@galderz

Description

@galderz

exclude-config is not working when the metadata to be excluded is within classpath jar files referenced by the runnable jar (e.g. via the manifest). In this case, the exclusions are queried before exclude-config parameter has been parsed.

Update: the real issue is that the order of of --exclude-config and -jar can cause exclude-config not to be applied. Checks for exclusion happen while processing -jar, so if --exclude-config is provided after that, it will be ignored. A temporary workaround is to provide --exclude-config before -jar, but a better solution is needed that is not relying on the order in which parameters are given.

Issue is present in the latest GraalVM CE release, 21.2.0.

Please assign this to me.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions