Review Request: JDK-8174826 jlink does not provide support for linking in service provider modules

Mandy Chung mandy.chung at
Thu Mar 23 18:59:30 UTC 2017

> On Mar 23, 2017, at 11:40 AM, Alan Bateman <Alan.Bateman at> wrote:
> On 23/03/2017 17:04, Mandy Chung wrote:
>> :
>> When linking with explicit providers via —-add-modules, would you think it may be useful to see the list of providers?
> For the most part then this will just print out the providers specified to --add-modules,

and all of their transitive dependencies. Basically listing the providers and used by the modules linked in the resulting image provides you the information and avoid the need to run `java —list-modules m1,m2,m3 to inspect the module descriptor, if it wants to confirm what providers are in the image.

> unless you are thinking about the less common case of a module that both exports an API and is a service provider module at the same time?

Not really in this context.


More information about the jigsaw-dev mailing list