The role of submodules

Chris Hegarty chris.hegarty at oracle.com
Thu Mar 28 02:37:08 PDT 2013


I believe the "submodules" are the fine-grained modules [1]. Not sure if 
they are still desirable.

-Chris.

[1] 
http://openjdk.java.net/projects/jigsaw/doc/draft-java-module-system-requirements-12#fine-grained-java-se-modularization

On 03/28/2013 08:51 AM, Erik Joelsson wrote:
> Hello,
>
> While working with the jigsaw build, I can't help but wonder what the
> reason for the submodules concept is. In the old build, each area is
> assigned a "MODULE", which isn't a full module name, but something
> shorter. All artifacts produced in an area, like libraries and lib
> files, automatically get copied to a sub directory of the submodules
> outputdir. Then in the modularization step, the contents of these
> submodules is copied to the final (real) modules according to a
> configured pattern. (ex: base -> jdk.base, javac -> jdk.tools)
>
> Is there a reason to keep this model going forward, or can we assign
> things their final module name directly in the new build? I would like
> to minimize copying files around for no apparent reason if possible.
>
> /Erik



More information about the jigsaw-dev mailing list