RFR: 8173871: Typos in Jar Packer/Unpacker PROGRESS field documentation

Kumar Srinivasan kumar.x.srinivasan at oracle.com
Wed Mar 29 17:19:47 UTC 2017


Hello,

Please review fix for a typo.

Thanks
Kumar

https://bugs.openjdk.java.net/browse/JDK-8173871

diff --git a/src/java.base/share/classes/java/util/jar/Pack200.java 
b/src/java.base/share/classes/java/util/jar/Pack200.java
--- a/src/java.base/share/classes/java/util/jar/Pack200.java
+++ b/src/java.base/share/classes/java/util/jar/Pack200.java
@@ -458,8 +458,8 @@
           * Progress can be monitored by polling the value of this
           * property.
           * <p>
-         * At a minimum, the unpacker must set progress to 0
-         * at the beginning of an unpacking operation, and to 100
+         * At a minimum, the packer must set progress to 0
+         * at the beginning of a packing operation, and to 100
           * at the end.
           */
          String PROGRESS                 = "pack.progress";
@@ -623,7 +623,7 @@
           * property.
           * <p>
           * At a minimum, the unpacker must set progress to 0
-         * at the beginning of a packing operation, and to 100
+         * at the beginning of an unpacking operation, and to 100
           * at the end.
           */
          String PROGRESS         = "unpack.progress";




More information about the core-libs-dev mailing list