You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found a file compression and decompression of which causes the following exception:
Exception in thread "main" java.io.IOException: unexpected end of input
at com.nixxcode.jvmbrotli.dec.Decoder.fail(Decoder.java:50)
at com.nixxcode.jvmbrotli.dec.Decoder.decode(Decoder.java:90)
at com.nixxcode.jvmbrotli.dec.BrotliInputStream.read(BrotliInputStream.java:59)
at Test.main(Test.java:120)
Hi!
I have found a file compression and decompression of which causes the following exception:
The file:
test.txt
The code (I run it in Java 8):
Expected behavior: the program does no output, just silently compresses and decompresses a file.
Actual behavior: the program raises the mentioned exception when the quality in
setQuality()
is set to at least 2. If lower, no exception.The text was updated successfully, but these errors were encountered: