mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8292043: Incorrect decoding near EOF for stateful decoders like UTF-16
Reviewed-by: joehw, alanb, lancea
This commit is contained in:
parent
f95ee79603
commit
aa9b8f04bf
2 changed files with 79 additions and 1 deletions
|
@ -378,7 +378,6 @@ public class StreamDecoder extends Reader {
|
|||
eof = true;
|
||||
if ((cb.position() == 0) && (!bb.hasRemaining()))
|
||||
break;
|
||||
decoder.reset();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue