Alternatives to automatic modules as a concept

David M. Lloyd david.lloyd at redhat.com
Fri Mar 17 14:06:14 UTC 2017


On 03/17/2017 08:40 AM, Alan Bateman wrote:
> On 17/03/2017 13:36, David M. Lloyd wrote:
>
>>
>> SLF4J APIs and implementations are cyclic.  You have to manually
>> bundle them into a single JAR before they could work with automodules.
> They can combined via command line options but would be interesting to
> see if you can put the API JAR on the module path so that people can
> depend it, leave the implementation on the class path (assuming code in
> explicit modules would not reference types in that JAR).

The API itself directly references the implementation via static 
inter-class linkage, so I'm guessing that wouldn't work.
-- 
- DML


More information about the jigsaw-dev mailing list