Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8024253

ThreadLocal random can use SecureRandom for the initial seed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • None
    • core-libs
    • None

      SplittableRandom supports the following:

       * in security-sensitive applications. Additionally,
       * default-constructed instances do not use a cryptographically random
       * seed unless the {@linkplain System#getProperty system property}
       * {@code java.util.secureRandomSeed} is set to {@code true}.

      ThreadLocalRandom can do the same, but requires JDK-8024009 to be fixed first.

            psandoz Paul Sandoz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: