<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 14/09/2015 20:11, Rahman USTA wrote:<br>
<blockquote
cite="mid:CAGe7fv2O_wO=ZsEPc0PgzHp8TOXUHM_ucZ08Jc9ijpbkTWnT0w@mail.gmail.com"
type="cite">
<div dir="ltr">Yes with <span style="font-size:12.8px">"--limitmods
com.greetings" the result as I expected. So, why jlink links
all modules without resolving over the root "org.greetings"
module? When jlink links all modules?</span>
<div><span style="font-size:12.8px"><br>
</span></div>
</div>
</blockquote>
The -limitmods option is limiting the set of observable modules to
com.greetings and its transitive dependences. Very useful for
testing and also important when using the linker.<br>
<br>
There isn't a jlink JEP yet but I would expect the issue as to
whether the tool does service binding by default or not be listed in
its open options. In the current prototype then it always does
service binding so this is why the resulting image has the service
provider modules and their dependences.<br>
<br>
-Alan<br>
</body>
</html>