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

jlink should fail on extra arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • tools
    • None
    • b143
    • generic
    • generic
    • Verified

      Running jlink with the following:

      jlink --module-path <mod_path> --add-modules <name> --output <out_path> foo

      This command succeeds without any warning/error, whatever the additional arguments I give, following "--output <out_path>". Even if it should succeed, at least warning would help to the users.

            sundar Sundararajan Athijegannathan
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: