RFR: 8346107: Generators: testing utility for random value generation [v14]
Theo Weidmann
tweidmann at openjdk.org
Fri Jan 10 08:08:14 UTC 2025
On Thu, 9 Jan 2025 20:28:49 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
>> Theo Weidmann has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update Generators.java
>
> test/hotspot/jtreg/testlibrary_tests/generators/tests/TestGenerators.java line 420:
>
>> 418: // normal restrictions
>> 419: mockSource.checkEmpty().enqueueInteger(4, 6, 4);
>> 420: var g1 = mockGS.safeRestrictInt(mockGS.uniformInts(4, 5),2, 5);
>
> Suggestion:
>
> var g1 = mockGS.safeRestrictInt(mockGS.uniformInts(4, 5), 2, 5);
Thanks for spotting this!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22941#discussion_r1909967167
More information about the hotspot-compiler-dev
mailing list