RFR: 8365703: Refactor ZipCoder to use common JLA.uncheckedNewStringNoRepl [v4]
Roger Riggs
rriggs at openjdk.org
Tue Aug 19 23:36:42 UTC 2025
On Tue, 19 Aug 2025 20:32:23 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.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> Declare newStringUTF8NoRepl `private`, it no longer needs to be package private
Thanks for the reviews
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26822#issuecomment-3202937104
More information about the core-libs-dev
mailing list