--- icedtea-3.8.0/openjdk/jdk/test/java/util/zip/InflateIn_DeflateOut.java 2018-09-18 09:55:59.118433163 +0200 +++ icedtea-3.8.0/openjdk/jdk/test/java/util/zip/InflateIn_DeflateOut.java 2018-09-18 09:56:21.186553300 +0200 @@ -23,7 +23,7 @@ /** * @test - * @bug 4206909 4813885 8189789 + * @bug 4206909 4813885 8189789 8196854 * @summary Test basic functionality of DeflaterOutputStream/InflaterInputStream and GZIPOutputStream/GZIPInputStream, including flush * @key randomness */ @@ -154,7 +154,6 @@ OutputStream output = new FlushableGZIPOutputStream(byteOutStream); byte[] data = new byte[random.nextInt(1024 * 1024)]; - byte[] buf = new byte[data.length]; random.nextBytes(data); output.write(data); @@ -176,7 +175,7 @@ int numRead; byte[] b = new byte[4 * 1024]; try { - while ((numRead = gzis.read(buf)) >= 0) { + while ((numRead = gzis.read(b)) >= 0) { baos.write(b, 0, numRead); } } finally {