RFR: 8191441: (Process) add Readers and Writer access to java.lang.Process streams [v4]

Alan Bateman alanb at openjdk.java.net
Thu May 27 06:56:05 UTC 2021


On Wed, 26 May 2021 17:58:06 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Process is abstract. Is there any use for these new methods to be overridden?
> Perhaps they should be final.

It's not clear to me that it is useful to extend Process outside of the JDK. Testing, wrapping, ...?  It feels like this class wants to be sealed. Maybe we should look at deprecating the no-arg constructor, like Joe did recently with AccessibleObject.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4134


More information about the core-libs-dev mailing list