jdk/src/java.base/share/classes/sun/security/util/Debug.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 37796 256c45c4af5d
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
    41     private String prefix;
    41     private String prefix;
    42 
    42 
    43     private static String args;
    43     private static String args;
    44 
    44 
    45     static {
    45     static {
    46         args = GetPropertyAction.getProperty("java.security.debug");
    46         args = GetPropertyAction.privilegedGetProperty("java.security.debug");
    47 
    47 
    48         String args2 =
    48         String args2 = GetPropertyAction
    49                 GetPropertyAction.getProperty("java.security.auth.debug");
    49                 .privilegedGetProperty("java.security.auth.debug");
    50 
    50 
    51         if (args == null) {
    51         if (args == null) {
    52             args = args2;
    52             args = args2;
    53         } else {
    53         } else {
    54             if (args2 != null)
    54             if (args2 != null)