Integrated: 8365719: Refactor uses of JLA.uncheckedNewStringNoRepl

Roger Riggs rriggs at openjdk.org
Tue Aug 19 19:09:45 UTC 2025


On Mon, 18 Aug 2025 21:34:39 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Refactor uses of JLAuncheckedNewStringNoRepl(byte[], ISO_8859_1) adding JLA.uncheckedNewStringWithLatin1Bytes(byte[]).
> There is no decoding needed, and no exceptions expected or thrown when creating the string from the supplied latin1 bytes. 
> If COMPACT_STRINGS is false, the bytes are inflated to UTF16.

This pull request has now been integrated.

Changeset: 884076f6
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/884076f6e249c336b088642e483adc0896df7a6e
Stats:     80 lines in 7 files changed: 32 ins; 39 del; 9 mod

8365719: Refactor uses of JLA.uncheckedNewStringNoRepl

Reviewed-by: liach, vyazici

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

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


More information about the core-libs-dev mailing list