[jdk25u-dev] RFR: 8369804: TestGenerators.java fails with IllegalArgumentException: bound must be greater than origin

duke duke at openjdk.org
Tue Dec 9 16:25:19 UTC 2025


On Fri, 5 Dec 2025 20:41:23 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8369804: TestGenerators.java fails with IllegalArgumentException: bound must be greater than origin.
> 
> For parity with Oracle JDK.
> 
> Fixed intermittent test failure caused by sampling two floats that occasionally produce identical values. Now retries sampling until distinct values are obtained. Also improved error reporting by throwing exceptions during generator construction instead of at sampling time.
> 
> Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed), and related compiler tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> (Passed) - make test-tier1
> (Passed) - make test TEST=test/hotspot/jtreg/compiler
> 
> Results are attached.
> 
> [linux-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/24038446/linux-aarch64-jtreg-tier1.log)
> [linux-x64-jtreg-tier1.log](https://github.com/user-attachments/files/24038447/linux-x64-jtreg-tier1.log)
> [macos-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/24038448/macos-aarch64-jtreg-tier1.log)
> [windows-x64-jtreg-tier1.log](https://github.com/user-attachments/files/24038449/windows-x64-jtreg-tier1.log)
> 
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/23972146/linux-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/23972147/linux-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/23972148/macos-aarch64-specific-test.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/23972149/windows-x64-specific-test.log)

@rm-gh-8 
Your change (at version 7acaa2a2d9d14343a2d18ec6bbb58876bf7149a3) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/67#issuecomment-3633128553


More information about the jdk-updates-dev mailing list