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

Typos in Jar Packer/Unpacker PROGRESS field documentation

XMLWordPrintable

    • b164
    • Not verified

        A DESCRIPTION OF THE PROBLEM :
        1. In java.util.jar.Pack200.Packer.PROGRESS field documentation, the word "unpacker" should be replaced by "packer" in the whole paragraph, this documentation was copied directly from java.util.jar.Pack200.Unpacker.PROGRESS field documentation without any modification to adapt it to Packer context.
        2. In java.util.jar.Pack200.Unpacker.PROGRESS field documentation, the sentence "At a minimum, the unpacker must set progress to 0 at the beginning of a packing operation, and to 100 at the end." should be replaced by "At a minimum, the unpacker must set progress to 0 at the beginning of an unpacking operation, and to 100 at the end."


        URL OF FAULTY DOCUMENTATION :
        https://docs.oracle.com/javase/8/docs/api/java/util/jar/Pack200.Packer.html#PROGRESS

              ksrini Kumar Srinivasan
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: