JDK-8164595 : javax/net/ssl/FixingJavadocs/SSLSessionNulls.java fails intermittently with javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-23
  • Updated: 2023-08-17
  • Resolved: 2016-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u401Fixed 9 b150Fixed
Related Reports
Duplicate :  
Relates :  
Description
separated from JDK-8134291.

Please refer to the test output:

javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1022)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:949)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1356)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:719)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:81)
at SSLSessionNulls.doClientSide(SSLSessionNulls.java:134)
at SSLSessionNulls.startClient(SSLSessionNulls.java:287)
at SSLSessionNulls.<init>(SSLSessionNulls.java:214)
at SSLSessionNulls.main(SSLSessionNulls.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:519)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:156)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:995)
... 15 more

Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/63e82d0eb4f6 User: lana Date: 2016-12-21 16:40:05 +0000
21-12-2016

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/63e82d0eb4f6 User: mli Date: 2016-12-15 03:23:27 +0000
15-12-2016