UTF-16 decoder does not return CoderResult.OVERFLOW when it should.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs

      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.

            Assignee:
            Xueming Shen
            Reporter:
            Xueming Shen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: