Could we have --exclude-modules option?

Andrejus Chaliapinas andrejusc at yahoo.com
Tue Aug 9 20:07:32 UTC 2022


  > Have you tried java --validate-modules? This option will scan the module path split package for other issues so that you get a dump of all issues.
 >
 > -Alan
Yes, that was my starting point, i.e usage of --validate-modules. But seeing outcome of it for complex dependencies set led to this my proposal actually. Cause validate shows conflicts, but elimination of them takes effort via build tooling configs. And much easier would be initially to evaluate runtime outcome via flexible exclusion capability (i.e. in a way we have for Maven dependencies exclusions for example).

Andrejus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jigsaw-dev/attachments/20220809/32a58bc5/attachment-0001.htm>


More information about the jigsaw-dev mailing list