RFR 9: 8003488 Add Process.getPid
Alan.Bateman at oracle.com
Mon May 12 21:01:30 UTC 2014
On 12/05/2014 20:44, roger riggs wrote:
> Please review and comment on this long requested addition to provide the
> native process id of a spawned Process.
> Webrev: http://cr.openjdk.java.net/~rriggs/webrev-getpid-8003488/
> Issue: https://bugs.openjdk.java.net/browse/JDK-8003488
I think the representation of the pid needs consideration - we need to
be happy that using a long is the right thing to do and won't cause us
problems in the future and won't conflict with other APIs that we might
add in this area.
In terms of spec then it might be helpful to say a bit more to define a
"native process id", even in an abstract way.
More information about the core-libs-dev