On 04/06/2018 20:45, Bob Vandette wrote:
If we do this, shouldn’t we provide an aggregator module to allow
developers to
easily create a Java runtime with the same list of modules? AFAIK,
this doesn’t exists.
The java.se <http://java.se> module is not the same. It’s missing
many modules.
That creates an attractive nuisance in that developers would end
requiring it (with `requires) and it's not a "platform" or a module that
someone should be depending on. As I recall, that was part of the
reason why the proposed "jdk.jre" aggregator was dropped during the JDK
9 development. It may be something for the Packaging Tool (draft JEP
JDK-8200758). I could imagine the build for the packaging tool
generating a list of modules that the tool uses when creating packages
for end-user applications.
-Alan