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

Alan Bateman alanb at openjdk.org
Wed Apr 24 14:42:28 UTC 2024


On Wed, 24 Apr 2024 13:50:56 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`.

What is the footprint implications for this? I'm trying to recall what the reasons were for doing this split in the first place.

If the implementations are moving to java.base then I suppose they go into jdk.internal.random rather than jdk.random.

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

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


More information about the core-libs-dev mailing list