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

jlink --suggest-providers should list providers from observable modules

    Details

    • Subcomponent:
    • Resolved In Build:
      b167
    • Verification:
      Verified

      Backports

        Description

        Run Jlink
        jlink --module-path jdk/jmods --output jlink-out --add-modules NON_EXISTENT_MODULE --suggest-providers java.nio.charset.spi.CharsetProvider

        It runs OK, but jlink should fail like in case where we do not specify service type.

        jlink --module-path jdk/jmods --output jlink-out --add-modules NON_EXISTENT_MODULE --suggest-providers

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mchung Mandy Chung
                  Reporter:
                  anazarov Andrey Nazarov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: