branch | http-client-branch |
changeset 56101 | 983e338eeb50 |
parent 56092 | fd85b2bf2b0d |
--- a/src/java.net.http/share/classes/jdk/internal/net/http/SSLDelegate.java Fri Feb 09 15:22:31 2018 +0000 +++ b/src/java.net.http/share/classes/jdk/internal/net/http/SSLDelegate.java Fri Feb 09 18:50:31 2018 +0000 @@ -437,7 +437,9 @@ assert tmp.position() == 0; break; } - hs_status = r.result.getHandshakeStatus(); + if (r != null) { + hs_status = r.result.getHandshakeStatus(); + } } Log.logSSL(getSessionInfo()); if (!wasBlocking) {