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

Lance Andersen lancea at openjdk.org
Mon Aug 22 10:30:28 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

Marked as reviewed by lancea (Reviewer).

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

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


More information about the core-libs-dev mailing list