-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 6
-
Component/s: core-libs
-
b63
-
generic
-
generic
UTF-16 decoder should return CoderResult.OVERFLOW if you invoke the
decoder with a ByteBuffer containing bytes of a surrogate pair and
an output CharBuffer only has room for one char. The current implementation
returns CoderResult.UNDERFLOW instead.
decoder with a ByteBuffer containing bytes of a surrogate pair and
an output CharBuffer only has room for one char. The current implementation
returns CoderResult.UNDERFLOW instead.