Compile time vs. runtime deps
Alan Bateman
Alan.Bateman at oracle.com
Fri Jul 13 01:27:54 PDT 2012
On 13/07/2012 05:12, David Holmes wrote:
>
> Nothing to do with VM perspective. I just don't expect my compiler or
> IDE to go and find a missing module for me. If the module is needed
> and missing then I get an error at compilation time. If the dependency
> is listed in module-info.java I still get an error at compilation
> time. Unless you expect the tool to try and resolve the problem (which
> I don't) then I don't see how adding something in module-info.java
> makes a difference.
If you are compiling with -L mlib and that module library is associated
with one or more repositories then it would be possible to have the
compile cause the missing modules required in the module declaration to
be downloaded and installed. It doesn't this now and it brings up many
issues of course.
-Alan.
More information about the jigsaw-dev
mailing list