mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8248862: Implement Enhanced Pseudo-Random Number Generators
Reviewed-by: darcy
This commit is contained in:
parent
39719da9d1
commit
a0ec2cb289
27 changed files with 11384 additions and 1772 deletions
|
@ -113,6 +113,7 @@ module java.base {
|
|||
exports java.util.concurrent.locks;
|
||||
exports java.util.function;
|
||||
exports java.util.jar;
|
||||
exports java.util.random;
|
||||
exports java.util.regex;
|
||||
exports java.util.spi;
|
||||
exports java.util.stream;
|
||||
|
@ -248,6 +249,8 @@ module java.base {
|
|||
jdk.jfr;
|
||||
exports jdk.internal.util.xml.impl to
|
||||
jdk.jfr;
|
||||
exports jdk.internal.util.random to
|
||||
jdk.random;
|
||||
exports sun.net to
|
||||
java.net.http,
|
||||
jdk.naming.dns;
|
||||
|
@ -356,7 +359,6 @@ module java.base {
|
|||
exports jdk.internal.invoke to
|
||||
jdk.incubator.foreign;
|
||||
|
||||
|
||||
// the service types defined by the APIs in this module
|
||||
|
||||
uses java.lang.System.LoggerFinder;
|
||||
|
@ -377,6 +379,7 @@ module java.base {
|
|||
uses java.time.chrono.AbstractChronology;
|
||||
uses java.time.chrono.Chronology;
|
||||
uses java.time.zone.ZoneRulesProvider;
|
||||
uses java.util.random.RandomGenerator;
|
||||
uses java.util.spi.CalendarDataProvider;
|
||||
uses java.util.spi.CalendarNameProvider;
|
||||
uses java.util.spi.CurrencyNameProvider;
|
||||
|
@ -400,4 +403,10 @@ module java.base {
|
|||
|
||||
provides java.nio.file.spi.FileSystemProvider with
|
||||
jdk.internal.jrtfs.JrtFileSystemProvider;
|
||||
|
||||
provides java.util.random.RandomGenerator with
|
||||
java.security.SecureRandom,
|
||||
java.util.Random,
|
||||
java.util.SplittableRandom;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue