automatic modules leaking types when using addmods

Alan Bateman Alan.Bateman at oracle.com
Mon Apr 25 06:59:13 UTC 2016



On 25/04/2016 07:35, Paul Bakker wrote:
> 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
>
I wasn't clear. My comment was on when the scenario is changed slightly 
to have an additional explicit module in the picture, say java.desktop. 
In that case then javac is granting implicit readability and so 
requiring jackson.databind allows the module to make use of types in 
java.desktop. It may be specific to system modules but I will create a 
bug on that.

-Alan.


More information about the jigsaw-dev mailing list