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

Use ModuleResolution DO_NOT_RESOLVE_BY_DEFAULT flag consistently

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • core-libs
    • None

      The JDK-specific ModuleResolution class file attribute lacks authoritative specification in JEPs or API docs. Consequentially there are inconsistencies that surface when using this attribute with modules that are not incubating modules.

      This issue tracks changing the module resolver to use DO_NOT_RESOLVE_BY_DEFAULT rather than WARN_INCUBATING when binding service provider modules. This change will help with service provider modules that are terminally deprecated, allowing a service provider to be observable but not resolved by default.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: