jdk/src/java.base/share/classes/javax/net/ssl/TrustManagerFactory.java
changeset 32649 2ee9017c7597
parent 32647 53b8fd1f3840
child 33241 27eb2d6abda9
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    71      * @see java.security.Security security properties
    71      * @see java.security.Security security properties
    72      * @return the default algorithm name as specified by the
    72      * @return the default algorithm name as specified by the
    73      * {@code ssl.TrustManagerFactory.algorithm} security property, or an
    73      * {@code ssl.TrustManagerFactory.algorithm} security property, or an
    74      * implementation-specific default if no such property exists.
    74      * implementation-specific default if no such property exists.
    75      */
    75      */
    76     public final static String getDefaultAlgorithm() {
    76     public static final String getDefaultAlgorithm() {
    77         String type;
    77         String type;
    78         type = AccessController.doPrivileged(new PrivilegedAction<>() {
    78         type = AccessController.doPrivileged(new PrivilegedAction<>() {
    79             @Override
    79             @Override
    80             public String run() {
    80             public String run() {
    81                 return Security.getProperty(
    81                 return Security.getProperty(