Dependencies to a root modules when creating a dynamic module layer
Alan Bateman
Alan.Bateman at oracle.com
Mon May 1 19:57:23 UTC 2017
On 01/05/2017 18:37, forax at univ-mlv.fr wrote:
> :
> In both cases, the VM adds modules to the configuration like with --add-modules before the boot layer is created, so there are not dynamically loaded.
That is the -Dcom.sun.management.jmxremote or -javaagent case.
The other case is where a tool attaches to a running VM and starts the
JMX agent or loads a java agent. If the modules aren't loaded then it
trigger the creation of a relative configuration and a child layer with
the modules that are needed. It's not exposed in the API so just think
of it as limited support for dynamic augmentation of platform modules.
It's definitely something to come back in the future.
-Alan.
More information about the jigsaw-dev
mailing list