On Tue, 12 Apr 2022 15:37:19 GMT, Raffaello Giulietti <d...@openjdk.java.net> 
wrote:

> Please review this tiny fix.
> 
> A test similar to the code proposed by the bug reporter has been added for 
> the LXM group. It does not pass before the fix and passes after.

j.u.Random and j.u.SplittableRandom do _not_ expose (byte[]) ctors. It's the 
factory that falls back to the () ctor if needed.
A more sophisticated test could perhaps use reflection to discover which ctors 
are exposed.

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

PR: https://git.openjdk.java.net/jdk/pull/8207

Reply via email to