CSR :
|
JDK-8205168 :
|
This issue tracks a re-examination of the policy defined in JEP 261 for the default set of root modules when compiling or running code on the class path. With the JEP 320 changes then the need to exclude the modules shared with Java EE goes away and the policy can be simply: "Every module on the upgrade module path or among the system modules that exports at least one package, without qualification." The implication is that the java.se aggregator will not be resolved. If the run-time image contains java.se and non-Java SE java.* modules then they will be resolved. The latter will avoid surprises for cases where modules such as java.json or java.ws.rs are included in the same run-time image as java.se. Changing the policy will require a change to javac and runtime. The jlink system modules plugin also implements this policy but it uses the runtime support so doesn't need its own changes.