automatic modules leaking types when using addmods
Alan Bateman
Alan.Bateman at oracle.com
Mon Apr 25 06:29:45 UTC 2016
On 24/04/2016 21:00, Paul Bakker wrote:
> So when modules B, C and D are automatic modules and named module A
> depends on B, A also gets implicit readability to C and D?
> What is the reasoning behind this automatic implicit readability? It
> makes migration less reliable I think, because it hides what
> dependencies a module really has.
>
I do see one issue with javac in that it is granting implicit
readability to explicit modules too, that seems to be a bug because such
code will fail at runtime.
-Alan
More information about the jigsaw-dev
mailing list