[jdk19] RFR: 8288596: Random:from() adapter does not delegate to supplied generator in all cases

Daniel Fuchs dfuchs at openjdk.org
Mon Jun 27 15:04:41 UTC 2022


On Fri, 17 Jun 2022 16:44:30 GMT, Raffaello Giulietti <duke at openjdk.org> wrote:

> Extend delegation by instance returned by Random.from() to all methods exposed by RandomGenerator.

just a stylistic comment in passing: it's a bit strange to see half of the methods call `this.generator` and the other half simply call `generator`.  Otherwise looks like your change is ready to be sponsored!

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

PR: https://git.openjdk.org/jdk19/pull/36


More information about the core-libs-dev mailing list