RFR: 8330005: RandomGeneratorFactory.getDefault() throws exception when the runtime image only has java.base module [v3]

Raffaello Giulietti rgiulietti at openjdk.org
Fri Apr 26 15:24:31 UTC 2024


On Fri, 26 Apr 2024 09:41:21 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> Move all random generators mandated in package `java.util.random` and currently implemented in module `jdk.random` to module `java.base`, and remove module `jdk.random`.
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Terminology changes.

I don't think that there's any intent

> to deploy with additional RandomGeneratorFactory implementations

as this is a final class.

The service provider interface `RandomGenerator` is exposed in the module by means of a `uses` clause. For some reason, however, it wasn't documented by a `@uses` javadoc tag. Added in last commit.

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

PR Comment: https://git.openjdk.org/jdk/pull/18932#issuecomment-2079603835


More information about the core-libs-dev mailing list