mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-19 14:55:17 +00:00
8283756: (zipfs) ZipFSOutputStreamTest.testOutputStream should only check inflated bytes
Reviewed-by: jpai, alanb, lancea
This commit is contained in:
parent
d6fa8b004b
commit
0c472c8a4f
@ -117,7 +117,7 @@ public class ZipFSOutputStreamTest {
|
||||
while ((numRead = is.read(buf)) != -1) {
|
||||
totalRead += numRead;
|
||||
// verify the content
|
||||
Assert.assertEquals(Arrays.mismatch(buf, chunk), -1,
|
||||
Assert.assertEquals(Arrays.mismatch(buf, 0, numRead, chunk, 0, numRead), -1,
|
||||
"Unexpected content in " + entryPath);
|
||||
}
|
||||
System.out.println("Read entry " + entryPath + " of bytes " + totalRead
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user