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

SecureRandom should say that it is thread-safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 7
    • security-libs

      SecureRandom does not say anything about thread-safety. I am pretty certain that the intention was that SecureRandom should be thread-safe, and that SecureRandom would do the appropriate synchronization so that the Provider supplied SecureRandomSpi does not have to worry about anything.

      We should double check that our code behaves that way and document it in the JavaDoc specification.

            valeriep Valerie Peng
            andreas Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: