-
Bug
-
Resolution: Fixed
-
P3
-
17
-
b28
-
x86_64
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8268992 | 18 | Fernando Guallini | P3 | Resolved | Fixed | b03 |
JDK-8270575 | 17.0.1 | Fernando Guallini | P3 | Resolved | Fixed | b03 |
JDK-8284063 | 11.0.16-oracle | Shivangi Gupta | P3 | Resolved | Fixed | b02 |
JDK-8284510 | 11.0.16 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8304312 | 8u381 | Shivangi Gupta | P3 | Resolved | Fixed | b01 |
javax/net/ssl/SSLSession/TestEnabledProtocols.java
Here's a snippet from the log file:
=== Starting new test run ===
Enabled protocols on the server are: [SSLv3]
Enabled protocols on the client are: [TLSv1, SSLv2Hello]
Server SSLHandshakeException:
javax.net.ssl.SSLHandshakeException: SSLv2Hello is not enabled
at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:381)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:175)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1495)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421)
at TestEnabledProtocols.runServerApplication(TestEnabledProtocols.java:79)
at SSLSocketTemplate.doServerSide(SSLSocketTemplate.java:280)
at SSLSocketTemplate.startServer(SSLSocketTemplate.java:584)
at SSLSocketTemplate.bootup(SSLSocketTemplate.java:498)
at SSLSocketTemplate.run(SSLSocketTemplate.java:83)
at TestEnabledProtocols.runCase(TestEnabledProtocols.java:293)
at TestEnabledProtocols.main(TestEnabledProtocols.java:248)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
Client got UNEXPECTED Exception:
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:961)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1495)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421)
at TestEnabledProtocols.runClientApplication(TestEnabledProtocols.java:111)
at SSLSocketTemplate.doClientSide(SSLSocketTemplate.java:359)
at SSLSocketTemplate$2.run(SSLSocketTemplate.java:598)
** FAILURE **
Client died: java.lang.RuntimeException: java.net.SocketException: Connection reset
java.lang.RuntimeException: java.net.SocketException: Connection reset
at TestEnabledProtocols.failTest(TestEnabledProtocols.java:163)
at TestEnabledProtocols.runClientApplication(TestEnabledProtocols.java:149)
at SSLSocketTemplate.doClientSide(SSLSocketTemplate.java:359)
at SSLSocketTemplate$2.run(SSLSocketTemplate.java:598)
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:961)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1495)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421)
at TestEnabledProtocols.runClientApplication(TestEnabledProtocols.java:111)
... 2 more
----------System.err:(25/1720)----------
java.lang.RuntimeException: java.net.SocketException: Connection reset
at TestEnabledProtocols.failTest(TestEnabledProtocols.java:163)
at TestEnabledProtocols.runClientApplication(TestEnabledProtocols.java:149)
at SSLSocketTemplate.doClientSide(SSLSocketTemplate.java:359)
at SSLSocketTemplate$2.run(SSLSocketTemplate.java:598)
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:961)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1495)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421)
at TestEnabledProtocols.runClientApplication(TestEnabledProtocols.java:111)
... 2 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.net.SocketException: Connection reset
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.net.SocketException: Connection reset
----------rerun:(41/5451)*----------
- backported by
-
JDK-8268992 javax/net/ssl/SSLSession/TestEnabledProtocols.java failed with "RuntimeException: java.net.SocketException: Connection reset"
- Resolved
-
JDK-8270575 javax/net/ssl/SSLSession/TestEnabledProtocols.java failed with "RuntimeException: java.net.SocketException: Connection reset"
- Resolved
-
JDK-8284063 javax/net/ssl/SSLSession/TestEnabledProtocols.java failed with "RuntimeException: java.net.SocketException: Connection reset"
- Resolved
-
JDK-8284510 javax/net/ssl/SSLSession/TestEnabledProtocols.java failed with "RuntimeException: java.net.SocketException: Connection reset"
- Resolved
-
JDK-8304312 javax/net/ssl/SSLSession/TestEnabledProtocols.java failed with "RuntimeException: java.net.SocketException: Connection reset"
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/67c48823
-
Commit openjdk/jdk17/2047da7d
-
Review openjdk/jdk11u-dev/1009
-
Review openjdk/jdk17/80