Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8318971 Better Error Handling for Jar Tool When Processing Non-existent Files
  3. JDK-8323314

Release Note: Better Error Handling for Jar Tool When Processing Non-existent Files

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Withdrawn
    • Icon: P4 P4
    • None
    • None
    • core-libs

      To shorten or simplify the `jar` command, you can provide an arg file that lists the files to include in the JAR file and pass it to the `jar` command with the at sign (`@`) as a prefix. Example as below,

      `jar --create --file my.jar @classes.list`

      If one or more entries in the arg file cannot be found then the jar command fails without creating the JAR file.

            wxiao Weibing Xiao
            wxiao Weibing Xiao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: