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

Christian Hagedorn chagedorn at openjdk.org
Thu Oct 16 14:12:49 UTC 2025


On Wed, 15 Oct 2025 13:06:41 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> 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>

Marked as reviewed by chagedorn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27816#pullrequestreview-3345090627


More information about the hotspot-compiler-dev mailing list