Small improvements to nio native code (unix)
Alan Bateman
Alan.Bateman at oracle.com
Tue Aug 31 13:37:46 PDT 2010
Martin Buchholz wrote:
>
>
> :
>
>
>
> In passing, I see in Java_sun_nio_ch_IOUtil_makePipe doesn't close
> the pipe in the highly unlikely event that the configureBlocking
> fails. It might be good to fix that while you are there (if you
> don't mind of course).
>
>
> Done.
>
> Webrev regenerated.
>
Thanks for doing that. It's probably to close the pipe after
JNU_ThrowIOExceptionWithLastError (in case one of the close calls fails,
overriding errno).
-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20100831/885e42c3/attachment.html
More information about the nio-dev
mailing list