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

SecureRandom should say that it is thread-safe

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: