review request: 4244896: (process) Provide System.getPid(), System.killProcess(String pid) (original) (raw)

Jason Mehrens jason_mehrens at hotmail.com
Fri Apr 20 14:40:21 UTC 2012


Rob,

2) As Alan noted, there is really no need for isAlive() if people are happy with the idea of waitFor(long, TimeUnit). I'd appreciate any feedback on this aspect of the fix.

Process.isAlive is similar to Future.isDone(). I think isAlive fills that need to have a simple query method that doesn't throw exceptions.

Jason



More information about the core-libs-dev mailing list