ServiceLoader usage in automatic module fails
Alan Bateman
Alan.Bateman at oracle.com
Mon Sep 11 12:21:30 UTC 2017
On 11/09/2017 12:26, Christian Stein wrote:
> On Mon, Sep 11, 2017 at 1:17 PM, Alan Bateman <Alan.Bateman at oracle.com>
> wrote:
>
> [...]
>> 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
>>
> Thanks, Alan. That worked like charm!
You can also use `--show-module-resolution` to get traces at startup and
satisfied yourself that it working correctly.
-Alan
More information about the jigsaw-dev
mailing list