Re: RFR: 8266078: Reader.read(CharBuffer) advances Reader position for read-only Charbuffers [v3]

2021-04-28 Thread Chris Hegarty
On Wed, 28 Apr 2021 15:29:20 GMT, Brian Burkhalter wrote: >> Please consider this request to modify `Reader.read(CharBuffer)` to check >> whether the buffer is read-only before reading any characters from the >> character stream. This can happen now if the buffer is read-only. Character >> are

Re: RFR: 8266078: Reader.read(CharBuffer) advances Reader position for read-only Charbuffers [v3]

2021-04-28 Thread Brian Burkhalter
> Please consider this request to modify `Reader.read(CharBuffer)` to check > whether the buffer is read-only before reading any characters from the > character stream. This can happen now if the buffer is read-only. Character > are first read thereby advancing the stream before an attempt is ma