Proposal for adding O_DIRECT support into JDK 9

Brian Burkhalter brian.burkhalter at oracle.com
Mon Sep 18 19:03:17 UTC 2017


Hi Volker,

Thanks for pointing this out.

On Sep 18, 2017, at 1:28 AM, Volker Simonis <volker.simonis at gmail.com> wrote:

> "open()" simply takes one of the following constants O_RDONLY,
> O_WRONLY, or O_RDWR as 'flags' argument. If you use that you shouldn't
> need the third 'mode' argument. And if you want to use a 'mode'
> argument, please use one of the predefined constants instead of a
> plain number.

Yes, definitely no hard coding of the mode argument.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170918/54d52561/attachment.html>


More information about the nio-dev mailing list