< prev index next >
src/java.base/share/classes/java/lang/ProcessHandleImpl.java
Print this page
rev 58552 : [mq]: 8241727-Typos-empty-lines-in-javadoc-inconsistent-indents-etc
*** 338,355 ****
}
return destroy0(pid, startTime, force);
}
/**
! * Signal the process to terminate.
! * The process is signaled only if its start time matches the known start time.
! *
! * @param pid process id to kill
! * @param startTime the start time of the process
! * @param forcibly true to forcibly terminate (SIGKILL vs SIGTERM)
! * @return true if the process was signaled without error; false otherwise
! */
private static native boolean destroy0(long pid, long startTime, boolean forcibly);
@Override
public boolean destroy() {
return destroyProcess(false);
--- 338,355 ----
}
return destroy0(pid, startTime, force);
}
/**
! * Signal the process to terminate.
! * The process is signaled only if its start time matches the known start time.
! *
! * @param pid process id to kill
! * @param startTime the start time of the process
! * @param forcibly true to forcibly terminate (SIGKILL vs SIGTERM)
! * @return true if the process was signaled without error; false otherwise
! */
private static native boolean destroy0(long pid, long startTime, boolean forcibly);
@Override
public boolean destroy() {
return destroyProcess(false);
< prev index next >