RFR: 8372353: API to compute the byte length of a String encoded in a given Charset [v5]

Liam Miller-Cushon cushon at openjdk.org
Thu Jan 15 16:52:33 UTC 2026


On Thu, 15 Jan 2026 15:46:57 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> This looks good.

Thanks for the review!

> In the CSR, I'd move the paragraph starting "Computing the..." to the solution section and describe the possible optimizations without referring to specific implementation details.

Done, thanks, I rephrased the 'Solution' section a bit to try to discuss the potential optimizations in a more general way.

> The javadoc in the specification section needs an update. Moving from Draft to Proposed and fixVersion = 27 will get it on the radar of the CSR reviewers.

Done

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

PR Comment: https://git.openjdk.org/jdk/pull/28454#issuecomment-3755845597


More information about the core-libs-dev mailing list