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.
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.
- csr for
-
JDK-8259638 (bf spec) Clarify byte order of the buffer returned by CharBuffer.subsequence(int,int)
-
- Closed
-