RFR: 8378698: Optimize Base64.Encoder#encodeToString

Chen Liang liach at openjdk.org
Wed Feb 25 20:24:52 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

> /integrate

Please be aware of https://openjdk.org/guide/#life-of-a-pr "Life of a PR" point 7, allow 24 hours for sufficient reviews before typing `/integrate` command. Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/29920#issuecomment-3961821373


More information about the core-libs-dev mailing list