-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
9
Test:
sun/security/ssl/SocketCreation/SocketCreation.java
Log:
Server: Will create unbound SSL server socket...
Server: Bound SSL server socket to port 36112...
Server: Will accept on SSL server socket...
Client: Will call createSocket(String, int, InetAddress, int)
----------System.err:(26/1784)----------
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1058)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
at java.base/sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:733)
at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67)
at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:81)
at SocketCreation.doClientSide(SocketCreation.java:296)
at SocketCreation.startClient(SocketCreation.java:508)
at SocketCreation.<init>(SocketCreation.java:440)
at SocketCreation.main(SocketCreation.java:413)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:156)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1031)
... 15 more
JavaTest Message: Test threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
sun/security/ssl/SocketCreation/SocketCreation.java
Log:
Server: Will create unbound SSL server socket...
Server: Bound SSL server socket to port 36112...
Server: Will accept on SSL server socket...
Client: Will call createSocket(String, int, InetAddress, int)
----------System.err:(26/1784)----------
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1058)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
at java.base/sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:733)
at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67)
at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:81)
at SocketCreation.doClientSide(SocketCreation.java:296)
at SocketCreation.startClient(SocketCreation.java:508)
at SocketCreation.<init>(SocketCreation.java:440)
at SocketCreation.main(SocketCreation.java:413)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:156)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1031)
... 15 more
JavaTest Message: Test threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
- duplicates
-
JDK-8166531 sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently
-
- Closed
-