Skip to content

Commit fc665a8

Browse files
committed
Clarify wildcard-package semantics in layer-create option
1 parent 1694e61 commit fc665a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/imagelayer/NativeImageLayers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ In the future we will eventually provide a solution to refine the resource inclu
9595

9696
Suboption `package` allows the inclusion of individual Java packages. For this kind of inclusion it does not matter if the specified package is from a classpath entry or part of a module, both are supported.
9797
Contrary to the `module` suboption, resources are not also automatically included. If resource inclusion is needed, the usual ways can be used (`resource-config.json`, `reachability-metadata.json` or resource related Feature API).
98+
When a given package name ends with `.*`, all packages that share the same package-prefix are registered for inclusion. E.g. `package=io.netty.*` registers all packages that start with `io.netty` for inclusion.
9899

99100
##### `--layer-create` suboption `path=<classpath-entry>`
100101

0 commit comments

Comments
 (0)