--- old/src/java.base/share/classes/sun/security/ssl/SSLEngineImpl.java Fri Dec 16 18:46:17 2016 +++ new/src/java.base/share/classes/sun/security/ssl/SSLEngineImpl.java Fri Dec 16 18:46:17 2016 @@ -2244,7 +2244,7 @@ } applicationProtocols = params.getApplicationProtocols(); - if ((handshaker != null) && !handshaker.started()) { + if ((handshaker != null) && !handshaker.activated()) { handshaker.setIdentificationProtocol(identificationProtocol); handshaker.setAlgorithmConstraints(algorithmConstraints); handshaker.setMaximumPacketSize(maximumPacketSize); --- old/src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java Fri Dec 16 18:46:18 2016 +++ new/src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java Fri Dec 16 18:46:18 2016 @@ -2158,7 +2158,7 @@ Utilities.addToSNIServerNameList(serverNames, host); if (!roleIsServer && - (handshaker != null) && !handshaker.started()) { + (handshaker != null) && !handshaker.activated()) { handshaker.setSNIServerNames(serverNames); } } @@ -2186,7 +2186,7 @@ this.serverNames = Utilities.addToSNIServerNameList(this.serverNames, this.host); - if (!roleIsServer && (handshaker != null) && !handshaker.started()) { + if (!roleIsServer && (handshaker != null) && !handshaker.activated()) { handshaker.setSNIServerNames(serverNames); } } @@ -2638,7 +2638,7 @@ applicationProtocols = params.getApplicationProtocols(); - if ((handshaker != null) && !handshaker.started()) { + if ((handshaker != null) && !handshaker.activated()) { handshaker.setIdentificationProtocol(identificationProtocol); handshaker.setAlgorithmConstraints(algorithmConstraints); handshaker.setMaximumPacketSize(maximumPacketSize);