ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/SplittableRandom.java
(Generate patch)

Comparing jsr166/src/main/java/util/SplittableRandom.java (file contents):
Revision 1.18 by dl, Thu Aug 22 23:36:06 2013 UTC vs.
Revision 1.20 by jsr166, Sat Aug 24 06:20:15 2013 UTC

# Line 83 | Line 83 | import java.util.stream.DoubleStream;
83   * default-constructed instances do not use a cryptographically random
84   * seed unless the {@linkplain System#getProperty system property}
85   * {@code java.util.secureRandomSeed} is set to {@code true}.
86
86   *
87   * @author  Guy Steele
88   * @author  Doug Lea
# Line 147 | Line 146 | public class SplittableRandom {
146       * we use an AtomicLong to represent the seed rather than use an
147       * explicit SplittableRandom. To bootstrap the seeder, we start
148       * off using a seed based on current time and host unless the
149 <     * SecureRandomSeed property is set. This serves as a
149 >     * java.util.secureRandomSeed property is set. This serves as a
150       * slimmed-down (and insecure) variant of SecureRandom that also
151       * avoids stalls that may occur when using /dev/random.
152       *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines