Review Request: JDK-8001334 - Remove use of JVM_* functions from java.io code

Alan Bateman Alan.Bateman at oracle.com
Tue Mar 12 21:22:26 UTC 2013


On 12/03/2013 18:01, Dan Xu wrote:
>
> Hi Alan,
>
> Do you mean directly map IO_Append to handleWrite in io_util_md.h for 
> the *nix case? And then where do we check the O_APPEND flag in our 
> code? Or do we require users to open the file with O_APPEND flag? Thanks!
Yes, either IO_Append is defined to be handleWrite or else add 
handleAppend that simply calls handleWrite. There's no need to check 
O_APPEND after the file is opened for append, not on *nix anyway.

-Alan



More information about the core-libs-dev mailing list