JDK 20 |
---|
20 b25Fixed |
Relates :
|
From the Linux comment of os::open // O_CLOEXEC is preferable to using FD_CLOEXEC on an open file descriptor // because it saves a system call and removes a small window where the flag // is unset. On ancient Linux kernels the O_CLOEXEC flag will be ignored // and we fall back to using FD_CLOEXEC (see below). On macOS if __DARWIN_C_LEVEL >= 200809L then we have access to O_CLOEXEC and we should use it instead.
|