RFR: 8346439: Allow late binding of module services in custom layers [v3]
David M. Lloyd
duke at openjdk.org
Thu Jan 2 17:16:42 UTC 2025
On Wed, 18 Dec 2024 18:03:50 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.
>
> David M. Lloyd has updated the pull request incrementally with one additional commit since the last revision:
>
> Add some validation and fix some javadoc wording
Bug was rejected.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22796#issuecomment-2568103757
More information about the core-libs-dev
mailing list