Question on specifying modules in layers
Paul Benedict
pbenedict at apache.org
Wed Jul 27 17:42:10 UTC 2016
Dear Jigsaw experts,
Instead of loading modules through --module-path, I would like to discover
them programmatically through other means. I can produce a Configuration
and Layer for this. I would like to delegate the module finding to the
parent too. In other words, I want the parent to be the Java runtime itself
so that any pre-installed modules will be resolvable.
Under this pattern, I am hoping all modules execute like no additional
Layer was introduced. I would like to know if there are any side-effects I
should be aware of?
It's also my understanding that doing a Layer is the only way to get access
into the Module Descriptor of modules before they load. Can you confirm?
Cheers,
Paul
More information about the jigsaw-dev
mailing list