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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9
    • tools
    • None

    Description

      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"

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: