JDK-8157348 broke gensrc of module infos with extra provides

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: infrastructure
    • b120

      JDK-8157348 changed how module-infos are modified at build time, That bug focues on limiting of adding exports lines. Unfortunately that change broke the case when adding provides lines. The exports line looks like this:

      exports <package> [to <module>]

      while provides looks like this:

      provides <provider name> with <class>

      With JDK-8157348, the provider name is checked as a package against the file system and will always fail. That check needs to be changed to only apply to exports.

            Assignee:
            Erik Joelsson
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: