RFR: 8378698: Optimize Base64.Encoder#encodeToString
Chen Liang
liach at openjdk.org
Wed Feb 25 16:17:27 UTC 2026
On Wed, 25 Feb 2026 15:37:02 GMT, Patrick Strawderman <duke at openjdk.org> wrote:
> Avoid a byte array copy in encodeToString by using JavaLangAccess#uncheckedNewStringWithLatin1Bytes
Turns out this is necessary per https://bugs.openjdk.org/browse/JDK-8364418
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29920#pullrequestreview-3855286622
More information about the core-libs-dev
mailing list