Win32Process.java: Added comment.
* java/lang/Win32Process.java: Added comment. * include/posix.h (_Jv_platform_close_on_exec): New function. Include fcntl.h. * include/win32.h (_Jv_platform_close_on_exec): New function. * java/net/natPlainSocketImpl.cc (create): Set close-on-exec flag. (accept): Likewise. * java/net/natPlainDatagramSocketImpl.cc (create): Set close-on-exec flag. * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec flag. From-SVN: r50536
This commit is contained in:
parent
b29bb8325b
commit
0c1fcb02b1
7 changed files with 45 additions and 6 deletions
|
@ -21,6 +21,11 @@ import java.io.IOException;
|
|||
|
||||
// This is entirely internal to our implementation.
|
||||
|
||||
// NOTE: when this is implemented, we'll need to add
|
||||
// HANDLE_FLAG_INHERIT in FileDescriptor and other places, to make
|
||||
// sure that file descriptors aren't inherited by the child process.
|
||||
// See _Jv_platform_close_on_exec.
|
||||
|
||||
// This file is copied to `ConcreteProcess.java' before compilation.
|
||||
// Hence the class name apparently does not match the file name.
|
||||
final class ConcreteProcess extends Process
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue