[BUG] BufferedChecksumStreamInput.read() throws EOFException instead of returning -1 #4820
Closed
Description
Describe the bug
read() method of BufferedChecksumStreamInput throws EOFException on reaching end of file.
As per javadocs of InputStream.read()
should return -1 on EOF.