Integrated: 8357286: (bf) Remove obsolete instanceof checks in CharBuffer.append

Brian Burkhalter bpb at openjdk.org
Thu Jun 12 20:24:34 UTC 2025


On Wed, 11 Jun 2025 00:38:51 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Remove some instanceof checks which are vestigial now that `CharSequence` itself defines `getChars(int,int,char[],int)`.

This pull request has now been integrated.

Changeset: 0dd7c69b
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0dd7c69b9e4307e6e8f290b84828f6de8a79e644
Stats:     54 lines in 2 files changed: 10 ins; 29 del; 15 mod

8357286: (bf) Remove obsolete instanceof checks in CharBuffer.append

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list