On 20/12/2024 14:20, David Lloyd wrote:
:
I see, so it seems that there still would have to be a parent-child
relationship (possibly transitive) between the layer containing the
service consumer and the layer containing the service provider,
correct? And the provider must be in a parent layer. I.e. using
`jlink` doesn't magically make this constraint disappear, which is
what I thought was being implied.
At this time, the jimage format doesn't support more than one version of
a module and jlink only supports link-time optimizations for the boot
layer. There is a mountain of interesting work that could be done there,
including link-time optimizations for applications that are launched in
child layers.
-Alan