Integrated: 8365703: Refactor ZipCoder to use common JLA.uncheckedNewStringNoRepl
Roger Riggs
rriggs at openjdk.org
Tue Aug 19 23:36:43 UTC 2025
On Mon, 18 Aug 2025 15:31:21 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Simplify JLA by changing ZipCoder to use JLA.uncheckedNewStringNoRepl(byte[] bytes, Charset cs) instead of the JLA.newStringUTF8NoRepl.
> A copy of the bytes is made so it can be exclusively used to create the string. The "shared" flag is no longer needed in String.newStringUTF8NoRepl.
This pull request has now been integrated.
Changeset: 55e7494d
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/55e7494deebfdacbb94d470995f770caa732877b
Stats: 44 lines in 4 files changed: 20 ins; 17 del; 7 mod
8365703: Refactor ZipCoder to use common JLA.uncheckedNewStringNoRepl
Reviewed-by: lancea, vyazici
-------------
PR: https://git.openjdk.org/jdk/pull/26822
More information about the core-libs-dev
mailing list