--- 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) == '"' &&