Re: Avoiding same-package conflicts

2015-10-29 Thread Karl Sanders
SE application expect that different > versions of the same library are placed on the classpath in JDK 8? > > Alex > > > On 10/28/2015 1:34 PM, Karl Sanders wrote: >> >> Hi, >> >> I'm trying out the JDK 9 EA with Jigsaw. >> >> I created two mo

Avoiding same-package conflicts

2015-10-28 Thread Karl Sanders
Hi, I'm trying out the JDK 9 EA with Jigsaw. I created two modules, A and B, which are required by module C. Modules A and B contain a non-exported package with the same name. After compiling each module separately I start module C and get a java.lang.reflect.LayerInstantiationException saying

Current plans for a new Java access modifier

2015-11-25 Thread Karl Sanders
Hi, after a quick search in the Jigsaw docs and mailing list archives I came to the conclusion that there won't be a new Java access modifier between public and Package-Access, to allow visibility and access from other packages but only if inside the same module. Is this correct? Regards, Karl