< prev index next >
src/java.base/share/classes/sun/security/ssl/ServerHandshaker.java
Print this page
rev 14210 : 8154231: Simplify access to System properties from JDK code
Reviewed-by: rriggs
*** 117,128 ****
new SSLAlgorithmDecomposer());
private long statusRespTimeout;
static {
! String property = AccessController.doPrivileged(
! new GetPropertyAction("jdk.tls.ephemeralDHKeySize"));
if (property == null || property.length() == 0) {
useLegacyEphemeralDHKeys = false;
useSmartEphemeralDHKeys = false;
customizedDHKeySize = -1;
} else if ("matched".equals(property)) {
--- 117,128 ----
new SSLAlgorithmDecomposer());
private long statusRespTimeout;
static {
! String property =
! GetPropertyAction.getProperty("jdk.tls.ephemeralDHKeySize");
if (property == null || property.length() == 0) {
useLegacyEphemeralDHKeys = false;
useSmartEphemeralDHKeys = false;
customizedDHKeySize = -1;
} else if ("matched".equals(property)) {
< prev index next >