git: openjdk/jdk21: 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Jim Laskey
jlaskey at openjdk.org
Wed Aug 9 15:16:24 UTC 2023
Changeset: c746fc01
Author: Jim Laskey <jlaskey at openjdk.org>
Date: 2023-08-09 15:13:37 +0000
URL: https://git.openjdk.org/jdk21/commit/c746fc013cb9a765b374e77d1af24b1557e3691b
8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
Backport-of: 6864441163f946d0bec7380a2a120e31b812a6dc
! src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java
+ test/jdk/java/lang/template/T8313809.java
More information about the jdk-changes
mailing list