7002957: (fc) FileChannel.transferTo fails to load libsendfile on Solaris 64-bit

Alan Bateman Alan.Bateman at oracle.com
Sat Jan 8 11:17:26 PST 2011

This one came up on this mailing list a few weeks ago. The reason that 
sendfile isn't used is because this code attempts to load 
/usr/lib/libsendfile.so.1 but it should be loading from /usr/lib64 when 
running in 64-bit. There's no reason now to load this library via dlopen 
so I've changed the code so that we link against libsendfile. The webrev 
with the changes is here:


More information about the nio-dev mailing list