jdk/src/java.base/share/classes/java/security/cert/CertStore.java
changeset 32649 2ee9017c7597
parent 30033 b9c86c17164a
child 33241 27eb2d6abda9
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   405      * @see java.security.Security security properties
   405      * @see java.security.Security security properties
   406      * @return the default {@code CertStore} type as specified by the
   406      * @return the default {@code CertStore} type as specified by the
   407      * {@code certstore.type} security property, or the string
   407      * {@code certstore.type} security property, or the string
   408      * {@literal "LDAP"} if no such property exists.
   408      * {@literal "LDAP"} if no such property exists.
   409      */
   409      */
   410     public final static String getDefaultType() {
   410     public static final String getDefaultType() {
   411         String cstype;
   411         String cstype;
   412         cstype = AccessController.doPrivileged(new PrivilegedAction<>() {
   412         cstype = AccessController.doPrivileged(new PrivilegedAction<>() {
   413             public String run() {
   413             public String run() {
   414                 return Security.getProperty(CERTSTORE_TYPE);
   414                 return Security.getProperty(CERTSTORE_TYPE);
   415             }
   415             }