On Wed, 26 Jun 2024 14:00:36 GMT, Claes Redestad <redes...@openjdk.org> wrote:
>> I have written a version using boolean locally, but because this class is >> mainly used by String and StringBuilder, it uses the same style as >> String/StringBuilder. > > Yeah, I'm just musing about the perils of leaking/replicating those > implementation details, but as you say this is internal code only used by > `String` and `StringBuilder` to it's loosely part of that complex. Not > requesting any changes here for now.. I looked at it again and I think @cl4es 's suggestion is correct. Can I submit the change? @rgiulietti ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19730#discussion_r1654964989