Is it possible to add a stub for ProcessHandle?
I'd like to use ProcessHandle.current().info().command() in Java 8 but at the moment, ProcessHandle isn't covered by the api stubs.
I can probably implement it on linux. but I'm not sure about windows.
it seems it would require natives, or like calling out to tasklist/ps for everything.
Is it possible to add a stub for
ProcessHandle
? I'd like to useProcessHandle.current().info().command()
in Java 8 but at the moment,ProcessHandle
isn't covered by the api stubs.