jdk/src/java.base/share/classes/java/security/SecureRandom.java
changeset 30033 b9c86c17164a
parent 26736 5a93000b26cd
child 31538 0981099a3e54
equal deleted inserted replaced
30019:e7dbbef69d12 30033:b9c86c17164a
   614      */
   614      */
   615     public static SecureRandom getInstanceStrong()
   615     public static SecureRandom getInstanceStrong()
   616             throws NoSuchAlgorithmException {
   616             throws NoSuchAlgorithmException {
   617 
   617 
   618         String property = AccessController.doPrivileged(
   618         String property = AccessController.doPrivileged(
   619             new PrivilegedAction<String>() {
   619             new PrivilegedAction<>() {
   620                 @Override
   620                 @Override
   621                 public String run() {
   621                 public String run() {
   622                     return Security.getProperty(
   622                     return Security.getProperty(
   623                         "securerandom.strongAlgorithms");
   623                         "securerandom.strongAlgorithms");
   624                 }
   624                 }