RFR: 8193682: Infinite loop in ZipOutputStream.close()
rreddy at openjdk.java.net
Wed Sep 15 07:52:09 UTC 2021
Please review this fix for Infinite loop in ZipOutputStream.close().
The main issue here is when ever there is an exception during close operations on GZip we are not setting the deflator to a finished state which is leading to an infinite loop when we try writing on the same GZip instance( since we use while(!def.finished()) inside the write operation).
- 8193682: Infinite loop in ZipOutputStream.close()
Stats: 92 lines in 2 files changed: 87 ins; 0 del; 5 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5522/head:pull/5522
More information about the core-libs-dev