Re: reasons to add readability edges when creating layer

2018-01-03 Thread Michał Zegan
Seems to me like a good argument for layers as sets of interdependent modules, as a module using another module prevents unloading the other module for real, as references still exist to it from the first module. Although I am not a module expert and trying to learn a bit about those things. As for

Re: reasons to add readability edges when creating layer

2018-01-03 Thread David Lloyd
On Sun, Dec 31, 2017 at 10:06 AM, Michał Zegan wrote: > Is that planned to be added? Or even needed? I wanted to compare jpms > api to jboss-modules and seems to me that jboss-modules does not have > the dependency modification capability at all at the first glance. JBoss Modules does allow modif

Re: reasons to add readability edges when creating layer

2018-01-02 Thread Alan Bateman
On 31/12/2017 16:06, Michał Zegan wrote: : Is that planned to be added? Or even needed? I'm not aware of any proposals to add this in the short term. I wanted to compare jpms api to jboss-modules and seems to me that jboss-modules does not have the dependency modification capability at all at

Re: reasons to add readability edges when creating layer

2017-12-31 Thread Michał Zegan
W dniu 31.12.2017 o 16:54, Alan Bateman pisze: > On 31/12/2017 01:22, Michał Zegan wrote: >> Hi. >> >> Wondering about one thing: What is the example use for addReads method >> of ModuleLayer.Controller? > Code generation or new reflection (java.lang.invoke) would be reasons to > use addReads. >

Re: reasons to add readability edges when creating layer

2017-12-31 Thread Alan Bateman
On 31/12/2017 01:22, Michał Zegan wrote: Hi. Wondering about one thing: What is the example use for addReads method of ModuleLayer.Controller? Code generation or new reflection (java.lang.invoke) would be reasons to use addReads. Reflection does not require adding readability edges manually.