jdeps --generate-open-module

Sander Mak sander.mak at luminis.eu
Mon May 15 19:43:21 UTC 2017

When executing `jdeps --generate-module-info ./out <jar>`, a module descriptor exporting all packages is created. When using `--generate-open-module`, a module descriptor with an open module is generated, but no packages are exported. I would expect to be able to generate a module descriptor that is as close to the automatic module behavior of the JAR in question, as starting point for modularization. There seems to be no way to generate an open module exporting all packages, which is the closest to automatic module behavior as possible. What's the intended use-case of `--generate-open-module` as it stands?


More information about the jigsaw-dev mailing list