This patch fixes jlink to link modules that has `requires static M`. jlink does not modify module-info.class. Hence, at runtime if module M is on the module path and added in the resolved graph. `requires static` dependency will be satisfied.
Webrev: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8175193/webrev.00/index.html Mandy