RFR [9] Add blocking bulk read to java.io.InputStream (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Thu May 7 14:46:10 UTC 2015
- Previous message: RFR [9] Add blocking bulk read to java.io.InputStream
- Next message: RFR [9] Add blocking bulk read to java.io.InputStream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 07/05/2015 15:36, Roger Riggs wrote:
Hi Alan,
I recognize that this utility function can't compensate for failings of the underlying stream. But I thought async close was the one common action that did work on streams to avoid indefinite blocking. No, not generally for InputStreams so it's very possible that the close might block until the read completes.
-Alan
- Previous message: RFR [9] Add blocking bulk read to java.io.InputStream
- Next message: RFR [9] Add blocking bulk read to java.io.InputStream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]