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

(bf spec) Clarify byte order of the buffer returned by CharBuffer.subsequence(int,int)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      The specification for CharBuffer::subsequence should clarify the byte order of the returned buffer, in the same way as other methods in CharBuffer do, e.g. `slice`.

      The longstanding and currently implementation returns a buffer whose "byte order will be identical to those of this buffer". Similar should be added to the `subsequence` specification.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccleary Conor Cleary (Inactive)
              Reporter:
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: