RFR 8023173: FileDescriptor should respect append flag
ivan.gerasimov at oracle.com
Sat Oct 25 18:14:49 UTC 2014
I've changed the fix in order to address the concerns Alan had mentioned.
Now, both the Unix and Windows implementations of FileDescriptor class
have the append flag.
First, it allows such querying the file descriptor in
FileChannelImpl.position() that does not involve JNI calls.
Second, this flag is passed to the write functions as an argument, so
there's no need to retrieve it from the native code.
The fix was built on all available platforms.
All the tests from io, nio pass.
Would you please help review this?
More information about the core-libs-dev