JDK-8331843 : Release Note: Removal of Module `jdk.random`
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2024-05-07
  • Updated: 2024-05-19
  • Resolved: 2024-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23Resolved
Description
The `jdk.random` module has been removed from the JDK. This module contained the implementations of the `java.util.random.RandomGenerator` algorithms.  The implementations have moved to the `java.base` module and `java.base` module will now be responsible for supporting these algorithms.

Applications that relied on `jdk.random` module, either through their build scripts or through module dependencies, should remove references to this module.