Integrated: 8361299: (bf) CharBuffer.getChars(int,int,char[],int) violates pre-existing specification

Brian Burkhalter bpb at openjdk.org
Wed Jul 9 16:17:44 UTC 2025


On Wed, 2 Jul 2025 20:24:19 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Modify `CharBuffer.getChars` to respect the class level specification that the provided buffer offset `srcBegin` is relative to the buffer's current position.

This pull request has now been integrated.

Changeset: 6249259c
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6249259c8050f280fb1c489e816f09d5cd72a54b
Stats:     43 lines in 2 files changed: 28 ins; 3 del; 12 mod

8361299: (bf) CharBuffer.getChars(int,int,char[],int) violates pre-existing specification

Reviewed-by: alanb, liach

-------------

PR: https://git.openjdk.org/jdk/pull/26104


More information about the nio-dev mailing list