RFR: 8346439: Allow late binding of module services in custom layers [v3]
David M. Lloyd
duke at openjdk.org
Wed Dec 18 18:03:50 UTC 2024
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22796/files
- new: https://git.openjdk.org/jdk/pull/22796/files/1b1bb8da..46cc8fdf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22796&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22796&range=01-02
Stats: 24 lines in 2 files changed: 20 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/22796.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22796/head:pull/22796
PR: https://git.openjdk.org/jdk/pull/22796
More information about the core-libs-dev
mailing list