On Wed, 26 Jun 2024 14:17:47 GMT, Shaojin Wen <d...@openjdk.org> wrote:
>> 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 Of course, nothing has been approved as of now. Since you are preparing a commit anyway, may I ask you to revert back the changes [here](https://github.com/openjdk/jdk/pull/19730#discussion_r1652978056)? Thanks. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19730#discussion_r1654972151