RFR: 8330005: RandomGeneratorFactory.getDefault() throws exception when the runtime image only has java.base module [v5]
Raffaello Giulietti
rgiulietti at openjdk.org
Thu May 2 12:33:52 UTC 2024
On Tue, 30 Apr 2024 10:21:49 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:
>
> Typo.
This PR's goal is to fix one specific problem: being able to link a minimal image containing only `java.base` while still having all _mandated_ algorithms available at runtime.
The fix does not improve on the discoverability and participation of other random generator algorithms, but it minimally contributes to solve the linking issue.
Thus, I think the proposed fix, apart from possible minor details, has a value on its own.
Work on evolving the _design aspects_ to allow additional algorithms to participate in service discovery should be done in a future PR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18932#issuecomment-2090383759
More information about the core-libs-dev
mailing list