jdk/src/java.base/share/classes/java/security/KeyStore.java
changeset 30033 b9c86c17164a
parent 29492 a4bf9a570035
child 32413 27f4ac5e88fb
equal deleted inserted replaced
30019:e7dbbef69d12 30033:b9c86c17164a
   974      * if no such property exists.
   974      * if no such property exists.
   975      * @see java.security.Security security properties
   975      * @see java.security.Security security properties
   976      */
   976      */
   977     public final static String getDefaultType() {
   977     public final static String getDefaultType() {
   978         String kstype;
   978         String kstype;
   979         kstype = AccessController.doPrivileged(new PrivilegedAction<String>() {
   979         kstype = AccessController.doPrivileged(new PrivilegedAction<>() {
   980             public String run() {
   980             public String run() {
   981                 return Security.getProperty(KEYSTORE_TYPE);
   981                 return Security.getProperty(KEYSTORE_TYPE);
   982             }
   982             }
   983         });
   983         });
   984         if (kstype == null) {
   984         if (kstype == null) {