reasons to add readability edges when creating layer

Michał Zegan webczat_200 at poczta.onet.pl
Sun Dec 31 01:22:44 UTC 2017


Hi.

Wondering about one thing: What is the example use for addReads method
of ModuleLayer.Controller?
Reflection does not require adding readability edges manually.
Also, if readability edge's target module would not be in a parent layer
or the same layer, seems that the module class loader will not take into
account readability edge changes. Not even sure if it would do this in
case when target module would indeed be in the parent layer.
So, is the only use case the one when I would have a custom class loader
loading by different rules?



More information about the jigsaw-dev mailing list