jlink and automatic modules
forax at univ-mlv.fr
forax at univ-mlv.fr
Sat Mar 5 19:50:22 UTC 2016
----- Mail original -----
> De: "Alan Bateman" <Alan.Bateman at oracle.com>
> À: "Remi Forax" <forax at univ-mlv.fr>
> Cc: "Sander Mak" <sander.mak at luminis.eu>, "jigsaw-dev" <jigsaw-dev at openjdk.java.net>
> Envoyé: Samedi 5 Mars 2016 10:21:49
> Objet: Re: jlink and automatic modules
>
>
> On 05/03/2016 09:00, Remi Forax wrote:
> > IMO, the real question is "should automatic modules see classes from the
> > classpath" ?
> >
> Automatic modules are for bridging to the class path so they have to
> read the unnamed module (or more specifically, they read all unnamed
> modules).
if there are jars (with no module metadata) in the modulepath and in the classpath,
what about having everything in the modulepath (module and jars), nothing in the classpath and use the unamed modules only in scenarios where currently we use default package.
at least it will make the rules between the different parts of the code simpler.
>
> -Alan.
>
Rémi
More information about the jigsaw-dev
mailing list