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

Address typos in jar man page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • None
    • tools
    • jar
    • b23

    Description

      The jar doc states "=" can be used in either style of option, ex:

      -f=FILE or --file=FILE

      but only the GNU style option (--file) accepts "=", ex:

      $ jar -c --main-class=CheckIfJarIsSigned -f=CheckIfJarIsSigned.jar CheckIfJarIsSigned.class
      unrecognized option : -f=CheckIfJarIsSigned.jar

      $ jar -c --main-class=CheckIfJarIsSigned --file=CheckIfJarIsSigned.jar CheckIfJarIsSigned.class

      Attachments

        Issue Links

          Activity

            People

              lancea Lance Andersen
              mullan Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: