Module naming for logging implementations
Stephen Colebourne
scolebourne at joda.org
Thu Oct 26 22:43:02 UTC 2017
On 26 October 2017 at 23:35, Cédric Champeau <cedric.champeau at gmail.com> wrote:
> There's a good argument for 1, though. log4j typically doesn't separate api
> and implementation. So a module would "require 'log4j'". It means that if
> another module like slf4j doesn't "pretend to be" log4j, it's now going to
> fail. Said differently, Jigsaw kills module replacements and fatjars.
Module replacements like log4j v1 work exactly as today. There is one
extra requirement that as well as having the same package name, the
replacement must have the same module name.
Fatjars are certainly of no use as a dependency with the current
jigsaw design, but logging doesn't seem to use fatjars.
Stephen
More information about the jigsaw-dev
mailing list