On 08/04/2019 07:31, Zheka Kozlov wrote:
Since automatic modules require all other modules, when the first module is
resolved, the other automatic modules are automatically resolved too. So,
you don't have to add all automatic modules manually to the graph. It's
enough to make a dependency only on the automatic module you need. Then the
other automatic modules will automatically get into the module graph.

That's right. The "Module Resolution" section in the java.lang.module package description has more on this, look for "If at least one automatic module is enumerated ...".

-Alan

Reply via email to