RFR: 8173871: Typos in Jar Packer/Unpacker PROGRESS field documentation
joe darcy
joe.darcy at oracle.com
Wed Mar 29 17:24:59 UTC 2017
+1
-Joe
On 3/29/2017 10:19 AM, Kumar Srinivasan wrote:
> 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