--- a/src/java.base/share/classes/java/util/random/RandomGenerator.java Thu Aug 08 11:06:54 2019 -0300
+++ b/src/java.base/share/classes/java/util/random/RandomGenerator.java Thu Aug 29 11:33:26 2019 -0300
@@ -131,6 +131,16 @@
*/
MRG32k3a("MRG32k3a"),
/**
+ * Legacy Random algorithm
+ */
+ @Deprecated
+ Random("Random"),
+ /**
+ * Legacy SecureRandom algorithm
+ */
+ @Deprecated
+ SecureRandom("SecureRandom"),
+ /**
* Xoroshiro128Plus algorithm
*/
Xoroshiro128Plus("Xoroshiro128Plus"),
--- a/src/java.base/share/classes/module-info.java Thu Aug 08 11:06:54 2019 -0300
+++ b/src/java.base/share/classes/module-info.java Thu Aug 29 11:33:26 2019 -0300
@@ -376,6 +376,8 @@
jdk.internal.jrtfs.JrtFileSystemProvider;
provides java.util.random.RandomGenerator with
+ java.security.SecureRandom,
+ java.util.Random,
java.util.random.L128X256MixRandom,
java.util.random.L32X64MixRandom,
java.util.random.L64X1024MixRandom,