Java Modules
Java Modules, introduced in Java 9, will not be interpreted as modules by PreEmptive Protection™ DashO™; they will be treated as standard jar files.
DashO will neither update nor use the information in module-info.class
.
If processing a module as an input:
- Configure DashO to not rename or remove the classes and packages referenced by the
module-info
. - Auto copy must be enabled to ensure that the
module-info.class
is copied to the output. - Make sure to use a package prefix if you configure renaming to flatten packages.
- If you are flattening packages for a module, it must be the only input so that the prefixed package will not exist in more than one module.
Because of these limitations, support for Java Modules is disabled by default to ensure that you don't encounter unintentional or unexpected build results.
To process Java Modules as inputs, opt-in by adding a new User Property named PROVISIONAL_MODULE_SUPPORT
and setting it to true
.
Note: This property will be ignored once support is no longer provisional.