jdk/src/java.base/share/classes/javax/net/ssl/SSLSocketFactory.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 37782 ad8fe7507ecc
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
    49     private static boolean propertyChecked;
    49     private static boolean propertyChecked;
    50 
    50 
    51     static final boolean DEBUG;
    51     static final boolean DEBUG;
    52 
    52 
    53     static {
    53     static {
    54         String s = GetPropertyAction.getProperty("javax.net.debug", "")
    54         String s = GetPropertyAction.privilegedGetProperty("javax.net.debug", "")
    55                 .toLowerCase(Locale.ENGLISH);
    55                 .toLowerCase(Locale.ENGLISH);
    56 
    56 
    57         DEBUG = s.contains("all") || s.contains("ssl");
    57         DEBUG = s.contains("all") || s.contains("ssl");
    58     }
    58     }
    59 
    59