Jlink doesn't report anything when provider is not used by anyone.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • None

      Compile module in attached zip
      javac -d out --module-source-path . `find . -name "*.java"`

      Then run Jlink
      jlink --module-path out:jdk/jmods --output jlink-out --add-modules m4 --suggest-providers p4.Impl

      Nothing will be reported by jlink.
      Expected "Services specified in --suggest-providers not used: p4.Impl"

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: