On Mon, 21 Oct 2024 17:06:30 GMT, Chen Liang <li...@openjdk.org> wrote:

>> Will the Reader need to catch IndexOutOfBoundsException and 
>> BufferUnderFlowException then wrap them as EOFException? I would think these 
>> errors should not escape the Reader as is if a source CharBuffer limit is 
>> tampered with.  Or is this not an issue?
>
> @jmehrens We have this in our specification:
> 
>>  If the sequence changes while the reader is open, e.g. the length changes, 
>> the behavior is undefined.
> 
> Thus your scenario is not an issue.

@liach Alan's latest minor edit request auto-removed your approval from this 
PR. Kindly asking to reapply your approval. Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/21371#issuecomment-2431406810

Reply via email to