40 import java.util.ArrayList; |
40 import java.util.ArrayList; |
41 import java.util.concurrent.CompletableFuture; |
41 import java.util.concurrent.CompletableFuture; |
42 import java.util.concurrent.TimeUnit; |
42 import java.util.concurrent.TimeUnit; |
43 import java.util.regex.Matcher; |
43 import java.util.regex.Matcher; |
44 import java.util.regex.Pattern; |
44 import java.util.regex.Pattern; |
|
45 import jdk.internal.misc.JavaIOFileDescriptorAccess; |
|
46 import jdk.internal.misc.SharedSecrets; |
45 |
47 |
46 /* This class is for the exclusive use of ProcessBuilder.start() to |
48 /* This class is for the exclusive use of ProcessBuilder.start() to |
47 * create new processes. |
49 * create new processes. |
48 * |
50 * |
49 * @author Martin Buchholz |
51 * @author Martin Buchholz |
50 * @since 1.5 |
52 * @since 1.5 |
51 */ |
53 */ |
52 |
54 |
53 final class ProcessImpl extends Process { |
55 final class ProcessImpl extends Process { |
54 private static final sun.misc.JavaIOFileDescriptorAccess fdAccess |
56 private static final JavaIOFileDescriptorAccess fdAccess |
55 = sun.misc.SharedSecrets.getJavaIOFileDescriptorAccess(); |
57 = SharedSecrets.getJavaIOFileDescriptorAccess(); |
56 |
58 |
57 // Windows platforms support a forcible kill signal. |
59 // Windows platforms support a forcible kill signal. |
58 static final boolean SUPPORTS_NORMAL_TERMINATION = false; |
60 static final boolean SUPPORTS_NORMAL_TERMINATION = false; |
59 |
61 |
60 /** |
62 /** |