[jdk25u-dev] RFR: 8369050: DecimalFormat Rounding Errors for Fractional Ties Near Zero

Roland Mesde duke at openjdk.org
Wed Nov 26 17:02:24 UTC 2025


Backporting JDK-8369050: DecimalFormat Rounding Errors for Fractional Ties Near Zero. Fixes rounding logic, updates a test and adds a test. Merge issue was related to the bug list. Only the current issue (8369050) was added as part of the PR. Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed) and related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

(Passed) - make test-tier1
(Passed) - make test TEST=test/jdk/java/text/Format

Results are attached.

[linux-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23776407/linux-aarch64-jtreg-tier1.log)
[linux-aarch64-specific-test.log](https://github.com/user-attachments/files/23776408/linux-aarch64-specific-test.log)
[linux-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23776409/linux-x64-jtreg-tier1.log)
[linux-x64-specific-test.log](https://github.com/user-attachments/files/23776410/linux-x64-specific-test.log)
[macos-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23776411/macos-aarch64-jtreg-tier1.log)
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/23776412/macos-aarch64-specific-test.log)
[windows-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23776413/windows-x64-jtreg-tier1.log)
[windows-x64-specific-test.log](https://github.com/user-attachments/files/23776414/windows-x64-specific-test.log)

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

Commit messages:
 - Initiate GHA
 - Backport 376d77e8a71478f456af5baaf47f446eebd79e36

Changes: https://git.openjdk.org/jdk25u-dev/pull/4/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=4&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8369050
  Stats: 95 lines in 3 files changed: 88 ins; 5 del; 2 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/4.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/4/head:pull/4

PR: https://git.openjdk.org/jdk25u-dev/pull/4


More information about the jdk-updates-dev mailing list