JEP 102 Process Updates revised API draft

Chris Hegarty chris.hegarty at oracle.com
Thu Mar 12 14:10:39 UTC 2015


On 12 Mar 2015, at 13:56, Peter Levart <peter.levart at gmail.com> wrote:

> On 03/11/2015 08:58 PM, Roger Riggs wrote:
>> Hi,
>> 
>> The recommendations have been applied to the javadoc and the sandbox JDK-8046092-branch.
>> 
>>    http://cr.openjdk.java.net/~rriggs/ph-apidraft/
> 
> That's strange. Process no longer extends ProcessHandle (which is visible in apidraft), but ProcessHandle still lists Process as it's direct subclass...
> 
> Also, the implementation note of Process.onExit() says:
> 
> Implementation Note:
>   The implementation of this method is
>   |toHandle().onExit().thenApply(ph -> this)|
>   <http://cr.openjdk.java.net/%7Erriggs/ph-apidraft/java/lang/Process.html#toHandle-->.
>   Override to provide more specific onExit behavior.
> 
> 
> ...but there is no ProcessHandle.onExit() (there is a ProcessHandle.completableFuture()). Looks like Process and ProcessHandle are from different stories?

I think you must be suffering from browser cache issues? I don’t see these problems.

-Chris.


More information about the core-libs-dev mailing list