git: openjdk/jdk17u-dev: 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters

Amos Shi ashi at openjdk.org
Tue Apr 9 18:20:59 UTC 2024


Changeset: fc01ffe9
Author:    Amos Shi <ashi at openjdk.org>
Date:      2024-04-09 18:18:09 +0000
URL:       https://git.openjdk.org/jdk17u-dev/commit/fc01ffe952f781f7510575b015c64cfc6b7431ed

8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters

Reviewed-by: phh
Backport-of: 82796bdebbf56b98ec97a6d572ed68c2842f60c6

! src/java.base/share/classes/java/lang/String.java
+ test/jdk/java/lang/String/CompactString/NegativeSize.java



More information about the jdk-updates-changes mailing list