alex.buckley at oracle.com
Mon Apr 5 14:43:35 PDT 2010
On 4/4/2010 9:57 PM, Jonathan Gibbons wrote:
> 2. Module resolution mode
> This refers to the way in which javac locates classes and resolves
> module dependencies.
Do you mean: "in which javac locates classes *of modules other than the
module for the compilation unit being compiled* and resolves module
dependencies *of the module for the compilation unit being compiled*" ?
I ask because I'm trying to work out where module-info.java fits in. Oh
wait, here it is:
> In both modes, a module or modules found on the command line (either
> explicitly or on one of the available path options) will be taken into
> account by the module resolver, which will look for any unresolved
> dependencies in the system module library, or a library specified by the
> -L option.
So you can supply one module-info.java file (3a) or multiple
module-info.java files (3b) on the command line, whether resolution is
done with Jigsaw (2a) or ZeroMod (2c).
If you supply zero module-info.java files on the command line, in which
modes will module-info.class be read silently to obtain dependencies for
normal compilation units supplied on the command line?
More information about the jigsaw-dev