mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
Fixed typo
This commit is contained in:
parent
7785fde196
commit
4b7d30c02c
@ -142,7 +142,7 @@ final class ProcessImpl extends Process {
|
||||
stdHandles[2] = fdAccess.getHandle(FileDescriptor.err);
|
||||
if (stdHandles[2] == -1L) {
|
||||
// FileDescriptor.err has been closed.
|
||||
f2 = newFileOutputStream(Redirect.DISCARD,
|
||||
f2 = newFileOutputStream(Redirect.DISCARD.file(),
|
||||
Redirect.DISCARD.append());
|
||||
stdHandles[2] = fdAccess.getHandle(f2.getFD());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user