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

Extra spaces in jlink documentation make it incorrect.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 9, 10, 11, 24
    • tools
    • b08

        the jlink doc as shown in https://docs.oracle.com/javase/9/tools/jlink.htm and https://docs.oracle.com/javase/10/tools/jlink.htm shows:

        --add-modules mod [,mod...]
        and
        --limit-modules mod [,mod...]

        with a space between "mod" and "[,mod..." which would make the command fail.

        The output of jlink --help (at least in JDK 11) shows the correct values:

        --add-modules <mod>[,<mod>...]
        and
        --limit-modules <mod>[,<mod>...]

        with no spaces.

              sundar Sundararajan Athijegannathan
              agarciar Aurelio Garcia-Ribeyro
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: