2017/4/7 7:45:38 -0700, roger.ri...@oracle.com:
> That's an unfortunate artifact of evolution.
> Process.getPid() was added early in 2014 and ProcessHandle a year later.
> 
> Several iterations of ProcessHandle API explored Process being a 
> subclass of ProcessHandle
> so the method names would be the same.  When ProcessHandle was decoupled 
> from Process
> the method name was retained for consistency.

I would think local consistency within the new `ProcessHandle` API would
be more important than external consistency with the legacy `Process` API.

Please consider fixing this.

- Mark

Reply via email to