git: openjdk/jdk8u-dev: 8278794: Infinite loop in DeflaterOutputStream.finish()

Yuri Nesterenko yan at openjdk.org
Mon Aug 26 10:30:28 UTC 2024


Changeset: 49425166
Branch: master
Author:    Yuri Nesterenko <yan at openjdk.org>
Date:      2024-08-26 10:28:45 +0000
URL:       https://git.openjdk.org/jdk8u-dev/commit/49425166c201e73dd954bd033ea6e33f4a9811b3

8278794: Infinite loop in DeflaterOutputStream.finish()
8284771: java/util/zip/CloseInflaterDeflaterTest.java failed with "AssertionError: Expected IOException to be thrown, but nothing was thrown"

Reviewed-by: phh, sgehwolf
Backport-of: ff0b0927a2df8b36f8fd6ed41bd4e20e71a5b653

! jdk/src/share/classes/java/util/zip/Deflater.java
! jdk/src/share/classes/java/util/zip/DeflaterOutputStream.java
! jdk/src/share/classes/java/util/zip/ZipOutputStream.java
- jdk/test/java/util/zip/CloseDeflaterTest.java
+ jdk/test/java/util/zip/CloseInflaterDeflaterTest.java



More information about the jdk8u-dev-changes mailing list