How to get reads from module?

Alan Bateman Alan.Bateman at oracle.com
Tue Jan 2 12:43:13 UTC 2024


On 02/01/2024 11:55, Michał Kłeczek wrote:
> Now I am lost. Wouldn’t it find the same module?
>
This is a readability graph rather than a dependency graph. They are the 
same thing until you add implied readability ("requires transitive") to 
the picture. In that case, it's possible for a module in layerC to 
require (and thus read) a module in layer A. That module in layer A, in 
turn, requires-transitive another module in layer A and thus our module 
in layerC reads two modules in layerA. It doesn't matter if there is a 
module in layerB with the same name as the second module in layerA, it's 
okay as long as there isn't a scenario where a module reads two (or 
more) modules with the same name.

-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jigsaw-dev/attachments/20240102/0c764172/attachment.htm>


More information about the jigsaw-dev mailing list