Hi Pavel, 1) „transferred“ should be a long instead of int 2) I would extract the buffer size to a constant as in the NIO Files class
-Patrick > Hi everyone, > > Could you please review my change for JDK-8066867? > > http://cr.openjdk.java.net/~prappo/8066867/webrev.00/ > > ---------------------------------------------------------------- > The task originated from discussion: > > http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-November/029650.html