< prev index next >
jdk/src/java.base/share/classes/java/lang/ProcessHandleImpl.java
Print this page
*** 48,58 ****
/**
* ProcessHandleImpl is the implementation of ProcessHandle.
*
* @see Process
! * @since 1.9
*/
final class ProcessHandleImpl implements ProcessHandle {
/**
* Cache the ProcessHandle of this process.
*/
--- 48,58 ----
/**
* ProcessHandleImpl is the implementation of ProcessHandle.
*
* @see Process
! * @since 9
*/
final class ProcessHandleImpl implements ProcessHandle {
/**
* Cache the ProcessHandle of this process.
*/
*** 336,346 ****
/**
* Tests whether the process represented by this {@code ProcessHandle} is alive.
*
* @return {@code true} if the process represented by this
* {@code ProcessHandle} object has not yet terminated.
! * @since 1.9
*/
@Override
public boolean isAlive() {
long start = isAlive0(pid);
return (start >= 0 && (start == startTime || start == 0 || startTime == 0));
--- 336,346 ----
/**
* Tests whether the process represented by this {@code ProcessHandle} is alive.
*
* @return {@code true} if the process represented by this
* {@code ProcessHandle} object has not yet terminated.
! * @since 9
*/
@Override
public boolean isAlive() {
long start = isAlive0(pid);
return (start >= 0 && (start == startTime || start == 0 || startTime == 0));
< prev index next >