RFR JDK-8043495: add native FileChannelImpl.transferTo0() implementation for AIX
Alan.Bateman at oracle.com
Mon May 26 10:09:53 UTC 2014
On 26/05/2014 10:04, Jonathan Lu wrote:
> May I have following patch reviewed ?
> The patch will add native FileChannelImpl.transferTo0() implementation
> for AIX
> by using the 'send_file' API,
Is the getsockopt needed to test the destination? I don't have access to
a system with AIX and the man page you cite seems to detect this and
give you the ENOTSOCK.
Otherwise I don't see any issues with this, a minor consistent issue at
L245 where it could be "< 0".
Just looking at the OSX implementation just before this in the function
and there is redundant ifdef __APPLE__. We could fix it with this patch
or use another bug, I don't of course want to expand the scope of your
More information about the core-libs-dev