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

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • 16
    • core-libs
    • None
    • 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

              ccleary Conor Cleary
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: