[jdk21u-dev] RFR: 8333456: CompactNumberFormat integer parsing fails when string has no suffix
Roland Mesde
duke at openjdk.org
Thu Nov 13 21:10:21 UTC 2025
Backporting JDK-8333456: CompactNumberFormat integer parsing fails when string has no suffix. Adds logic to check to make sure position does not exceed the string length before deciding to check for a decimal symbol.
Ran GHA Sanity Checks (passed) and related test (passed).
-------------
Commit messages:
- Backport 6238bc8da2abe7a1f0cdd98c0af01e9ba1869ec3
Changes: https://git.openjdk.org/jdk21u-dev/pull/2468/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2468&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8333456
Stats: 455 lines in 2 files changed: 454 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/2468.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2468/head:pull/2468
PR: https://git.openjdk.org/jdk21u-dev/pull/2468
More information about the jdk-updates-dev
mailing list