ServiceLoader usage in automatic module fails
Alan Bateman
Alan.Bateman at oracle.com
Mon Sep 11 11:17:31 UTC 2017
On 11/09/2017 11:52, Alan Bateman wrote:
> :
>
> Which JAR file contains the service provider? You mentioned "restoring
> the class-path and provide a META-INF/services". Does this mean you
> removed the services configuration file when you had the JAR file on
> the module path as an automatic module?
>
Also can you run with `--add-modules demo` as I assume the scenario you
is that "demo" is not resolved (because no modules `requires demo` and
no module declares that it uses the service type that demo provides).
-Alan
More information about the jigsaw-dev
mailing list