Question on Implied readability
Alan Bateman
Alan.Bateman at oracle.com
Mon Nov 2 21:51:23 UTC 2015
On 02/11/2015 20:02, Ali Ebrahimi wrote:
> :
> layer2.modules() [module com.foo, module com.bar] layer1.modules()
> [module com.baz, module com.bar] foo.canRead(bar2) -> false
> foo.canRead(bar1) -> false
Thanks, I see the issue. The reason it didn't duplicate for me is
because I hadn't dropped the requires com.bar.
So the bug is implied readability across layers when the same named
module exists in multiple layers. In this case com.foo should read
com.bar at 1. The com.bar (@2) is the same configuration as com.foo is
confusing the code. We'll need to fix this.
-Alan
More information about the jigsaw-dev
mailing list