Integrated: 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16

Jim Laskey jlaskey at openjdk.org
Tue Aug 8 19:38:44 UTC 2023


On Tue, 8 Aug 2023 18:31:04 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

> The last fragment of a string template does not get it's coder added to the mix.

This pull request has now been integrated.

Changeset: 68644411
Author:    Jim Laskey <jlaskey at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6864441163f946d0bec7380a2a120e31b812a6dc
Stats:     49 lines in 2 files changed: 45 ins; 2 del; 2 mod

8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16

Reviewed-by: redestad

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

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


More information about the core-libs-dev mailing list