Integrated: 8369804: TestGenerators.java fails with IllegalArgumentException: bound must be greater than origin
Emanuel Peter
epeter at openjdk.org
Thu Oct 16 14:24:53 UTC 2025
On Wed, 15 Oct 2025 08:07:51 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.
This pull request has now been integrated.
Changeset: f2a99832
Author: Emanuel Peter <epeter at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f2a998326a6bebd4a7d2d0a39f785b2e6dac68c4
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
Reviewed-by: chagedorn, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/27816
More information about the hotspot-compiler-dev
mailing list