[jdk21u-dev] RFR: 8333456: CompactNumberFormat integer parsing fails when string has no suffix [v3]

Roland Mesde duke at openjdk.org
Tue Nov 18 22:12:41 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).

Roland Mesde has updated the pull request incrementally with one additional commit since the last revision:

  Fix formatting

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/2468/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/2468/files/0c2007ca..354993ce

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2468&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2468&range=01-02

  Stats: 9 lines in 1 file changed: 1 ins; 0 del; 8 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