equal
deleted
inserted
replaced
480 // |
480 // |
481 // jdk.tls.namedGroups="secp521r1, secp256r1, ffdhe2048" |
481 // jdk.tls.namedGroups="secp521r1, secp256r1, ffdhe2048" |
482 // |
482 // |
483 // If the System Property is not defined or the value is empty, the |
483 // If the System Property is not defined or the value is empty, the |
484 // default groups and preferences will be used. |
484 // default groups and preferences will be used. |
485 String property = AccessController.doPrivileged( |
485 String property = GetPropertyAction |
486 new GetPropertyAction("jdk.tls.namedGroups")); |
486 .privilegedGetProperty("jdk.tls.namedGroups"); |
487 if (property != null && property.length() != 0) { |
487 if (property != null && property.length() != 0) { |
488 // remove double quote marks from beginning/end of the property |
488 // remove double quote marks from beginning/end of the property |
489 if (property.length() > 1 && property.charAt(0) == '"' && |
489 if (property.length() > 1 && property.charAt(0) == '"' && |
490 property.charAt(property.length() - 1) == '"') { |
490 property.charAt(property.length() - 1) == '"') { |
491 property = property.substring(1, property.length() - 1); |
491 property = property.substring(1, property.length() - 1); |