< prev index next >

src/java.base/share/classes/java/lang/ProcessHandle.java

Print this page

        

*** 69,79 **** * The factory methods limit access to ProcessHandles using the * SecurityManager checking the {@link RuntimePermission RuntimePermission("manageProcess")}. * The ability to control processes is also restricted by the native system, * ProcessHandle provides no more access to, or control over, the native process * than would be allowed by a native application. ! * <p> * @implSpec * In the case where ProcessHandles cannot be supported then the factory * methods must consistently throw {@link java.lang.UnsupportedOperationException}. * The methods of this class throw {@link java.lang.UnsupportedOperationException} * if the operating system does not allow access to query or kill a process. --- 69,79 ---- * The factory methods limit access to ProcessHandles using the * SecurityManager checking the {@link RuntimePermission RuntimePermission("manageProcess")}. * The ability to control processes is also restricted by the native system, * ProcessHandle provides no more access to, or control over, the native process * than would be allowed by a native application. ! * * @implSpec * In the case where ProcessHandles cannot be supported then the factory * methods must consistently throw {@link java.lang.UnsupportedOperationException}. * The methods of this class throw {@link java.lang.UnsupportedOperationException} * if the operating system does not allow access to query or kill a process.
< prev index next >