JDK-4483582 : (process) Process needs NIO channels to multiplex in/out/err
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2001-07-24
  • Updated: 2018-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Name: bsC130419			Date: 07/24/2001


java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)


java.lang.Process does not provide java.nio.channels.Channel objects for the
process stdin/stdout/stderr streams, making it impossible to multiplex these
streams.

Please add methods to Process which will allow access to SelectableChannel
objects for these streams.
(Review ID: 128697) 
======================================================================

Comments
Additional input needed for Windows: See core-libs openjdk email: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-September/035331.html
19-10-2015

EVALUATION This would be a nice feature to add. Another engineer wrote: "From a technical standpoint, doing this on Unix is not very hard. On Windoze, as usual, it's way more difficult than it needs to be."
25-08-2006

WORK AROUND Name: bsC130419 Date: 07/24/2001 None. Old method is to spawn a blocking thread on each stream. ======================================================================
20-09-2004