On Thu, 15 Jan 2026 20:23:55 GMT, Naoto Sato <[email protected]> wrote:
>> I think that makes sense, I'm not sure what the best way to characterize it
>> is. Probably we don't want to promise specific optimizations. What do you
>> think about:
>>
>>
>> * <p>The result will be the same value as {@link #getBytes(Charset)
>> getBytes(cs).length},
>> * and will have equivalent or better performance.
>
> I think this won't be a normative spec, so I'd move the performance
> description to `@apiNote`
Done
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28454#discussion_r2696149599