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

JDK-8157348 broke gensrc of module infos with extra provides

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: