Withdrawn: 8346439: Allow late binding of module services in custom layers

David M. Lloyd duke at openjdk.org
Thu Jan 2 17:16:42 UTC 2025


On Tue, 17 Dec 2024 16:29:13 GMT, David M. Lloyd <duke at openjdk.org> wrote:

> Custom module layers allow for lazy loading, late binding, and full customization of module dependencies through the `Controller` API. However, it is not possible for custom layer users to late-bind services, which has prevented some popular application containers from moving to use Java modules.
> 
> Add an API to `ModuleLayer.Controller` to allow adding `uses` and `provides` relationships after a module has been defined for custom layers.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/22796


More information about the core-libs-dev mailing list