RFR: 8363972: Loose matching of dash/minusSign in number parsing [v7]

Naoto Sato naoto at openjdk.org
Tue Aug 5 22:56:05 UTC 2025


On Tue, 5 Aug 2025 18:23:41 GMT, Justin Lu <jlu at 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


More information about the core-libs-dev mailing list