RFR: 8257511: JDK-8254082 brings regression to AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end)

Brian Burkhalter bpb at openjdk.java.net
Tue Dec 1 20:58:56 UTC 2020


On Tue, 1 Dec 2020 14:49:01 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> This patch fixes a place where we failed to adjust properly for getBytes taking a length rather than end offset. (Something the public API in AbstractStringBuilder is apparently inconsistent about..)
> 
> Although this was caught by JCK testing, this patch adds a few trivial sanity tests to get at least some sanity checking into tier1

Marked as reviewed by bpb (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/1541


More information about the core-libs-dev mailing list