RFR: 8292043: Incorrect decoding near EOF for stateful decoders like UTF-16 [v2]

Alan Bateman alanb at openjdk.org
Mon Aug 22 06:43:25 UTC 2022


On Sun, 21 Aug 2022 23:19:16 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Fixing incorrect state handling with EOF in `StreamDecoder`. There's a `reset()` call to the decoder seeing the EOF before the last `decode()` operation to handle the state correctly. Removing the call should not affect other cases because `reset()` is issued down the execution.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Modified the test per review suggestion

Thanks for the update, I think the test is much better now.

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

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.org/jdk/pull/9945


More information about the nio-dev mailing list