On 05/11/2016 10:29, Jochen Theodorou wrote:
On 05.11.2016 08:39, Alan Bateman wrote:

The application module reads other modules rather than layers, in this
case it results in the application module reading C, B-1, D, and B-2
(assuming that the application modules `requires C` and `requires D` and
both of these modules `requires transitive B`). This will fail because
the application reads B-1 and B-2, both of which export the same
packages to the application module.

And if that is done at runtime ti still fails?
The exception will be thrown when you attempt to create the configuration containing the application module. So yes, it's run time, there is no equivalent at compile or link time because this is dynamically created configurations + layers.

-Alan

Reply via email to