RFR [9] 8139706: JarFile.getBytes could use InputStream.readNBytes

Claes Redestad claes.redestad at oracle.com
Fri Oct 16 16:24:22 UTC 2015

On 2015-10-16 18:02, Xueming Shen wrote:
> Why do we no longer check the length of the returned byte[] from 
> is.readAllBytes() against ze.getSize()?
> I think the original IOUtils.readFully() throws EOFE if we don't get 
> enough bytes.

Good catch, this should do it:



> -Sherman 

More information about the core-libs-dev mailing list