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

Jlink suggests more providers than requested.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • 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 m1 --suggest-providers p1.B

      you will see
      Suggested providers:
        module m1 provides p1.B, used by m1
        module m1 provides p1.S, used by m1

      The second line contains info about p1.S.

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

              Created:
              Updated:
              Resolved: