So I had a quick look at the code and the only way it gets into this code is through a test which is essentially
if ( isBinary and isINT8 )
So unless the backend is sending an int8 as less than 8 bytes or there is some other bug in the JDBC code in which it gets confused as to what it is pointing to I don't see how it gets to this exception.
Dave