On Sun, 13 Nov 2022 21:42:38 GMT, Lance Andersen <[email protected]> wrote:
>> Please review the following PR which updates several of the ZipInputStream
>> methods whose javadoc is inherited to clarify the methods are acting on
>> the current ZIP Entry.
>>
>> There are no changes in behavior. The main description for the method's
>> javadoc that has been copied has been clarified and the remaining doc is the
>> same.
>
> Lance Andersen has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Tweak available() javadoc
src/java.base/share/classes/java/util/zip/ZipInputStream.java line 179:
> 177: * {@link #closeEntry()} has been called, otherwise always return 1.
> 178: * I think it will need to say that input stream for the current ZIP
> entry has been read to end of stream, or the
> 179: * ZIP entry has been closed with closeEntry
A comment from the PR has been pasted here :-)
Ignoring that, the updated description for the "available" method looks okay.
-------------
PR: https://git.openjdk.org/jdk/pull/10995