On Tue, 19 Nov 2024 19:27:39 GMT, Stuart Marks <sma...@openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request incrementally with one additional >> commit since the last revision: >> >> missed a few methods for specifying IllegalStateException > > src/java.base/share/classes/java/util/zip/Deflater.java line 892: > >> 890: * and discards any unprocessed input. >> 891: * <p> >> 892: * If this method is invoked multiple times, the subsequent calls >> are treated as a no-op. > > I would say, > >> If this method is invoked multiple times, the second and subsequent calls do >> nothing. Done. I've updated the end() method's javadoc of both `Deflater` and `Inflater` to use this recommended text. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19675#discussion_r1853272941