Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/java/org/apache/cassandra/io/compress/LZ4Compressor.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public int uncompress(byte[] input, int inputOffset, int inputLength, byte[] out
outputOffset,
decompressedLength);
}
catch (LZ4Exception e)
catch (LZ4Exception | IndexOutOfBoundsException e)
{
throw new IOException(e);
}
Expand All @@ -180,7 +180,7 @@ public void uncompress(ByteBuffer input, ByteBuffer output) throws IOException
input.position(input.position() + compressedLength);
output.position(output.position() + decompressedLength);
}
catch (LZ4Exception e)
catch (LZ4Exception | IndexOutOfBoundsException e)
{
throw new IOException(e);
}
Expand Down