Patch to fix BufferedInputStream.skip and bug 4254082

Pascal S. de Kloe pascal at quies.net
Sun Jul 8 12:41:53 UTC 2007


Hello Martin,

> 6192696: BufferedInputStream.read(byte[], int, int) can block if the
> entire buffer can't be filled
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6192696

The problem is fill(). It doesn't check available(). The patch on this 
mailing list is supposed to fix that too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20070708/ef307376/signature.asc>


More information about the core-libs-dev mailing list