--- 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;