Automatic module names
Alan Bateman
Alan.Bateman at oracle.com
Mon Feb 6 18:51:52 UTC 2017
On 06/02/2017 18:25, David M. Lloyd wrote:
>
> I don't think there is really a substantial increase in risk between
> manually modularizing a library and relying on automatic modules.
If several projects take on the responsibility to modularize a library
that they don't maintain then there is no guarantee that they will end
up with equivalent modules. Static analysis (`jdeps
--generate-module-info ...`) gets you so far but it often needs a deeper
understanding of the library to be confident that the module declaration
that they write for the library is complete. Automatic modules take on
much of the behavior of a library on the class path so that it's not
necessary to synthesize everything that an explicit module would declare.
-Alan
More information about the jigsaw-dev
mailing list