Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6348426

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: