jdk/src/java.base/share/classes/java/lang/ProcessHandle.java
changeset 31061 fead7d86d75f
parent 30899 d2408e757489
child 31681 e9a9d5b369bc
equal deleted inserted replaced
31060:be4eb6360ee0 31061:fead7d86d75f
    69  * The factory methods limit access to ProcessHandles using the
    69  * The factory methods limit access to ProcessHandles using the
    70  * SecurityManager checking the {@link RuntimePermission RuntimePermission("manageProcess")}.
    70  * SecurityManager checking the {@link RuntimePermission RuntimePermission("manageProcess")}.
    71  * The ability to control processes is also restricted by the native system,
    71  * The ability to control processes is also restricted by the native system,
    72  * ProcessHandle provides no more access to, or control over, the native process
    72  * ProcessHandle provides no more access to, or control over, the native process
    73  * than would be allowed by a native application.
    73  * than would be allowed by a native application.
    74  * <p>
    74  *
    75  * @implSpec
    75  * @implSpec
    76  * In the case where ProcessHandles cannot be supported then the factory
    76  * In the case where ProcessHandles cannot be supported then the factory
    77  * methods must consistently throw {@link java.lang.UnsupportedOperationException}.
    77  * methods must consistently throw {@link java.lang.UnsupportedOperationException}.
    78  * The methods of this class throw {@link java.lang.UnsupportedOperationException}
    78  * The methods of this class throw {@link java.lang.UnsupportedOperationException}
    79  * if the operating system does not allow access to query or kill a process.
    79  * if the operating system does not allow access to query or kill a process.