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

Raffaello Giulietti rgiulietti at openjdk.org
Sat May 4 18:29:25 UTC 2024


> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:

 - Merge branch 'master' into 8330005
 - Restrict RandomGenerator service providers to those loadable by the platform class loader.
 - Typo.
 - Added @uses javadoc tag for j.u.r.RandomGenerator in java.base.
 - Terminology changes.
 - Renamed package jdk.random to jdk.internal.random.
 - 8330005: RandomGeneratorFactory.getDefault() throws exception when the runtime image only has java.base module

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18932/files
  - new: https://git.openjdk.org/jdk/pull/18932/files/59c86b43..8a5598ea

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18932&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18932&range=04-05

  Stats: 22890 lines in 1641 files changed: 7834 ins; 9521 del; 5535 mod
  Patch: https://git.openjdk.org/jdk/pull/18932.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18932/head:pull/18932

PR: https://git.openjdk.org/jdk/pull/18932


More information about the core-libs-dev mailing list