[jdk21u-dev] RFR: 8371652: Double.parseDouble with large strings fails [v2]

Raffaello Giulietti rgiulietti at openjdk.org
Thu Nov 27 16:20:56 UTC 2025


On Thu, 27 Nov 2025 16:13:24 GMT, Lei Zhu <duke at openjdk.org> wrote:

>> Lei Zhu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8371652: Double.parseDouble with large strings fails
>
> src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java line 1871:
> 
>> 1869:         /* Scan opt significand sign. */
>> 1870:         int ch;  // running char
>> 1871:         int ssign = ' ';  // ' ' iff sign is implicit
> 
> Hi @rgiulietti , Is the word `iff` a spelling error?

No, it's a standard maths lingo for "if and only if".

But before any further work, please consider @jerboaa's concerns. He is the lead maintainer for [JDK 21u](https://wiki.openjdk.org/display/JDKUpdates/JDK+21u)

-------------

PR Review Comment: https://git.openjdk.org/jdk21u-dev/pull/2488#discussion_r2569444397


More information about the jdk-updates-dev mailing list