< prev index next >

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

Print this page

        

*** 87,97 **** * {@code ProcessHandle} may have unpredictable results and should be avoided. * Use {@link #equals(Object) equals} or * {@link #compareTo(ProcessHandle) compareTo} methods to compare ProcessHandles. * * @see Process ! * @since 1.9 */ public interface ProcessHandle extends Comparable<ProcessHandle> { /** * Returns the native process ID of the process. The native process ID is an --- 87,97 ---- * {@code ProcessHandle} may have unpredictable results and should be avoided. * Use {@link #equals(Object) equals} or * {@link #compareTo(ProcessHandle) compareTo} methods to compare ProcessHandles. * * @see Process ! * @since 9 */ public interface ProcessHandle extends Comparable<ProcessHandle> { /** * Returns the native process ID of the process. The native process ID is an
*** 213,223 **** * The attributes of a process vary by operating system and are not available * in all implementations. Information about processes is limited * by the operating system privileges of the process making the request. * The return types are {@code Optional<T>} allowing explicit tests * and actions if the value is available. ! * @since 1.9 */ public interface Info { /** * Returns the executable pathname of the process. * --- 213,223 ---- * The attributes of a process vary by operating system and are not available * in all implementations. Information about processes is limited * by the operating system privileges of the process making the request. * The return types are {@code Optional<T>} allowing explicit tests * and actions if the value is available. ! * @since 9 */ public interface Info { /** * Returns the executable pathname of the process. *
< prev index next >