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

Roland Mesde duke at openjdk.org
Tue Dec 9 17:07:09 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)

This pull request has now been integrated.

Changeset: 559f805d
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/559f805d62fe4de5f62664a11e665355c4b10882
Stats:     22 lines in 3 files changed: 16 ins; 0 del; 6 mod

8369804: TestGenerators.java fails with IllegalArgumentException: bound must be greater than origin

Backport-of: f2a998326a6bebd4a7d2d0a39f785b2e6dac68c4

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

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


More information about the jdk-updates-dev mailing list