Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8346439

Allow late binding of module services in custom layers

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      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.

            dmlloyd David Lloyd
            dmlloyd David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: