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

Plugin alias options in jlink --help output seems to be in an arbitrary order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b147
    • Not verified

      Usage: jlink <options> --module-path <modulepath> --add-modules <mods> --output <path>
      Possible options include:
        -h, --help Print this help message
        -p <modulepath>
        --module-path <modulepath> Module path
        --limit-modules <mod>[,<mod>...] Limit the universe of observable modules
        --add-modules <mod>[,<mod>...] Root modules to resolve
        --output <path> Location of output path
        --endian <little|big> Byte order of generated jimage (default:native)
        --version Version information
        --save-opts <filename> Save jlink options in the given file
        -c, --compress=<0|1|2> Enable compression of resources
                                          More details in --list-plugins option
        --no-man-pages Exclude man pages
        --no-header-files Exclude include header files
        -G, --strip-debug Strip debug information
        --plugin-module-path <modulepath> Custom plugin module path
        --list-plugins List available plugins
        @<filename> Read options from file

      Several jlink options are aliases to the built-in plugin options. They are inserted between -version and --plugin-module-path.

        --save-opts <filename> Save jlink options in the given file
        -c, --compress=<0|1|2> Enable compression of resources
                                          More details in --list-plugins option
        --no-man-pages Exclude man pages
        --no-header-files Exclude include header files
        -G, --strip-debug Strip debug information

      One option is to print them in alphabetical order.

            jlaskey Jim Laskey
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: