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

Emanuel Peter epeter at openjdk.org
Wed Oct 15 13:06:41 UTC 2025


> We sample two floats, assuming we would get two different results. But ever so rarely, we get the same values, and the test fails.
> 
> So now, I sample with retry. And also improve the error reporting, throwing an exception on generator construction rather than sampling from the generator.

Emanuel Peter has updated the pull request incrementally with one additional commit since the last revision:

  Apply suggestions from code review
  
  Co-authored-by: Christian Hagedorn <christian.hagedorn at oracle.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27816/files
  - new: https://git.openjdk.org/jdk/pull/27816/files/34e6fd55..38fa2fb2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27816&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27816&range=01-02

  Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/27816.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27816/head:pull/27816

PR: https://git.openjdk.org/jdk/pull/27816


More information about the hotspot-compiler-dev mailing list