On Tue, 5 Aug 2025 18:23:41 GMT, Justin Lu <j...@openjdk.org> wrote: >> It might be clearer to say that each character of the string is a valid >> minus sign character. >> If you want to preserve the option for full support for surrogates it could >> say codepoints instead of character. > > I agree. I think that is a good wording update which naturally covers both > the single and multiple minus signs case.
Clarified. (did not add @since, as this is an internal method) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26580#discussion_r2255494170