6894950: test/java/util/zip/Bounds.java fails with OoutOfMemoryError
Fixed the boundary check in Deflater.java Reviewed-by: alanb
This commit is contained in:
parent
b36e33e9e0
commit
d9eeb64ea6
@ -333,7 +333,7 @@ class Deflater {
|
||||
* output buffer
|
||||
*/
|
||||
public int deflate(byte[] b, int off, int len) {
|
||||
return deflateBytes(b, off, len, NO_FLUSH);
|
||||
return deflate(b, off, len, NO_FLUSH);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -22,8 +22,7 @@
|
||||
*/
|
||||
|
||||
/* @test
|
||||
* @bug 4811913
|
||||
* @ignore until 6896424 is resolved
|
||||
* @bug 4811913 6894950
|
||||
* @summary Test bounds checking in zip package
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user