src/java.base/share/classes/java/security/SecureRandom.java
changeset 53018 8bf9268df0e2
parent 47216 71c04702a3d5
child 57437 f02ffcb61dce
child 57736 7f75db20c209
child 58678 9cf78a70fa4f
equal deleted inserted replaced
53017:e10a1f7aaa13 53018:8bf9268df0e2
   940                     return Security.getProperty(
   940                     return Security.getProperty(
   941                         "securerandom.strongAlgorithms");
   941                         "securerandom.strongAlgorithms");
   942                 }
   942                 }
   943             });
   943             });
   944 
   944 
   945         if ((property == null) || (property.length() == 0)) {
   945         if (property == null || property.isEmpty()) {
   946             throw new NoSuchAlgorithmException(
   946             throw new NoSuchAlgorithmException(
   947                 "Null/empty securerandom.strongAlgorithms Security Property");
   947                 "Null/empty securerandom.strongAlgorithms Security Property");
   948         }
   948         }
   949 
   949 
   950         String remainder = property;
   950         String remainder = property;