jdk/src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
child 40275 6a37d5a9619d
--- a/jdk/src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java	Tue May 03 11:45:56 2016 +0100
+++ b/jdk/src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java	Tue May 03 15:50:54 2016 +0200
@@ -656,7 +656,8 @@
         // the provider service. Instead, please handle the initialization
         // exception in the caller's constructor.
         static {
-            String property = GetPropertyAction.getProperty(PROPERTY_NAME);
+            String property = GetPropertyAction
+                    .privilegedGetProperty(PROPERTY_NAME);
             if (property != null && property.length() != 0) {
                 // remove double quote marks from beginning/end of the property
                 if (property.length() > 1 && property.charAt(0) == '"' &&