git: openjdk/jdk22: 8321514: UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled

Roger Riggs rriggs at openjdk.org
Tue Dec 19 21:34:37 UTC 2023


Changeset: 049be572
Author:    Aleksei Voitylov <avoitylov at openjdk.org>
Committer: Roger Riggs <rriggs at openjdk.org>
Date:      2023-12-19 21:33:50 +0000
URL:       https://git.openjdk.org/jdk22/commit/049be572ef7a0f69b171928709784522ff42caa0

8321514: UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled

Reviewed-by: rriggs, iris
Backport-of: fde5b16817c3263236993f2e8c2d2469610d99bd

! src/java.base/share/classes/java/lang/StringUTF16.java
! test/jdk/java/lang/String/Chars.java



More information about the jdk-changes mailing list