automatic modules leaking types when using addmods
    Paul Bakker 
    paul.bakker.nl at gmail.com
       
    Mon Apr 25 06:35:17 UTC 2016
    
    
  
That doesn't seem to be the case, I can run successfully, as long as I have the right -addmods.
I've pushed my example here if you want to take a further look at it: https://github.com/paulbakker/automaticmodules-example <https://github.com/paulbakker/automaticmodules-example>
Paul
> On 25 Apr 2016, at 08:29, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> 
> 
> 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