src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java
changeset 51398 3c389a284345
parent 50768 68fa3d4026ea
child 51733 a929ad0569ee
child 56858 829e9b5ace08
--- a/src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java	Tue Aug 14 14:28:23 2018 +0200
+++ b/src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java	Tue Aug 14 22:39:34 2018 +0800
@@ -482,8 +482,8 @@
             //
             // If the System Property is not defined or the value is empty, the
             // default groups and preferences will be used.
-            String property = AccessController.doPrivileged(
-                        new GetPropertyAction("jdk.tls.namedGroups"));
+            String property = GetPropertyAction
+                    .privilegedGetProperty("jdk.tls.namedGroups");
             if (property != null && property.length() != 0) {
                 // remove double quote marks from beginning/end of the property
                 if (property.length() > 1 && property.charAt(0) == '"' &&