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

David Alayachew duke at openjdk.org
Wed Jun 5 04:44:02 UTC 2024


On Wed, 8 May 2024 08:30:39 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:
> 
>   Removed empty line.

Hey, I'm just curious -- why was the solution to remove an entire module? I understand the point of moving the relevant code over to `java.base`, but I don't understand why removing the random module made sense.

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

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


More information about the core-libs-dev mailing list