jdk/src/java.base/share/classes/sun/security/util/Debug.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 37796 256c45c4af5d
--- a/jdk/src/java.base/share/classes/sun/security/util/Debug.java	Tue May 03 11:45:56 2016 +0100
+++ b/jdk/src/java.base/share/classes/sun/security/util/Debug.java	Tue May 03 15:50:54 2016 +0200
@@ -43,10 +43,10 @@
     private static String args;
 
     static {
-        args = GetPropertyAction.getProperty("java.security.debug");
+        args = GetPropertyAction.privilegedGetProperty("java.security.debug");
 
-        String args2 =
-                GetPropertyAction.getProperty("java.security.auth.debug");
+        String args2 = GetPropertyAction
+                .privilegedGetProperty("java.security.auth.debug");
 
         if (args == null) {
             args = args2;