On 10/23/17 3:37 AM, Sundararajan Athijegannathan wrote:
Updated for getDefaultModulePath. moduleFinder uses three instance
fields - modulepaths, limitmods and modules. We may have to pass all
to the static method...
http://cr.openjdk.java.net/~sundar/8189777/webrev.01
What happens to this command?
$ jlink --add-modules ALL-MODULE-PATH -output image
It will use the default module path but there is no root module.
On 10/23/17 7:33 AM, Alan Bateman wrote:
The other alternative is to create the ModuleFinder before creating
the JlinkConfiguration, that might be clearer overall.
I like the idea passing ModuleFinder to JlinkConfiguration constructor
which is cleaner.
Mandy