Changeset: 62dc2d00133f Author: Greg Lewis <gle...@eyesbeyond.com> Date: 2010-03-24 22:19 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/62dc2d00133f
. Use sendfile(2) if its available (which it is on MacOS X and FreeBSD). Otherwise return IOS_UNSUPPORTED and allow the calling code to handle the fallback rather than using our own (buggy) read/write loop here. Submitted by: Michael Allman <m...@allman.ms> FreeBSD support by: Greg Lewis ! src/solaris/native/sun/nio/ch/FileChannelImpl.c