This discussion is archived
4 Replies Latest reply: May 10, 2012 2:39 PM by jschellSomeoneStoleMyAlias RSS

changes in SocketChannel and FileChannel between java 1.6 and java 1.7

935848 Newbie
Currently Being Moderated
I would like to know it there has been any change the way SocketChannel channel.write() methods and
FileChannel fc.transferTo() between java 1.6 and 1.7. What my observation is that the amount of bytes
transferred in 1.6 through these calls is much higher then in 1.7. Maybe 1.6 returned from the call only after
transferring all the bytes while 1.7 returns back without transferring all bytes and expects application to retry.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points