Integrated: 8257511: JDK-8254082 brings regression to AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end)
Claes Redestad
redestad at openjdk.java.net
Tue Dec 1 22:52:55 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
This pull request has now been integrated.
Changeset: 00e79db8
Author: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/00e79db8
Stats: 25 lines in 2 files changed: 16 ins; 0 del; 9 mod
8257511: JDK-8254082 brings regression to AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end)
Reviewed-by: alanb, rriggs, bpb
-------------
PR: https://git.openjdk.java.net/jdk/pull/1541
More information about the core-libs-dev
mailing list