I extended the example project with some potential use-cases
for the `--patch-module-descriptor` option at [0]. Those use-cases
show which command line option usages can be replaced and
therefore simplified (as this RFE thread was coined) in the form
of the following example:
Today:
--add-modules java.sql
--add-reads org.astro=java.sql
With `--patch-module-descriptor src/org.astro/test/module-info.java`:
module org.astro { // name specifies the "primary" module to be patched
requires java.sql; // adds and reads the specified module
}
Cheers,
Christian
[0]: https://github.com/sormuras/java-module-patching#examples
>