On Sat, 28 Jan 2023 19:28:46 GMT, Roger Riggs <rri...@openjdk.org> wrote:
> The parameter will be easier to understand if `true` means that the string > created must not share the byte array supplied. For example, > > @param noShare {@code true} if the resulting string MUST NOT share the byte > array, {@code false} if the byte array can be exclusively used to construct > the string and is not modified or used for any other purpose. > > This flips the boolean argument in the uses below. I modified it according to your suggestion. ------------- PR: https://git.openjdk.org/jdk/pull/12119