-
Bug
-
Resolution: Fixed
-
P3
-
17
-
b26
-
x86_64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8271618 | 11.0.14-oracle | Prasadarao Koppula | P3 | Resolved | Fixed | b01 |
JDK-8269740 | 11.0.13 | Christoph Langer | P3 | Resolved | Fixed | b01 |
JDK-8274869 | 8u321 | Prasadarao Koppula | P3 | Resolved | Fixed | b01 |
sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions.java
Here's a snippet from the log file:
#section:main
----------messages:(4/198)----------
command: main SSLSocketImplThrowsWrongExceptions
reason: User specified action: run main/othervm SSLSocketImplThrowsWrongExceptions
Mode: othervm [/othervm specified]
elapsed time (seconds): 0.392
----------configuration:(0/0)----------
----------System.out:(10/440)----------
starting Server
Client starting
got server socket
Server socket accepting...
Client creating socket
Server starting handshake
Client starting handshake
Client reported correct exception
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Server reported the wrong exception
----------System.err:(31/2280)----------
Server died...
java.net.SocketException: Broken pipe
at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:420)
at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:440)
at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:826)
at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1031)
at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:266)
at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:89)
at java.base/sun.security.ssl.Finished$T13FinishedProducer.onProduceFinished(Finished.java:787)
at java.base/sun.security.ssl.Finished$T13FinishedProducer.produce(Finished.java:675)
at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:440)
at java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.goServerHello(ClientHello.java:1252)
at java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.consume(ClientHello.java:1188)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:851)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:812)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458)
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:199)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1501)
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 SSLSocketImplThrowsWrongExceptions.doServerSide(SSLSocketImplThrowsWrongExceptions.java:96)
at SSLSocketImplThrowsWrongExceptions$1.run(SSLSocketImplThrowsWrongExceptions.java:266)
JavaTest Message: Test threw exception: java.net.SocketException: Broken pipe
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.net.SocketException: Broken pipe
----------rerun:(36/5839)*----------
- backported by
-
JDK-8269740 sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions. SSL test failures caused by java failed with "Server reported the wrong exception"
- Resolved
-
JDK-8271618 sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions. SSL test failures caused by java failed with "Server reported the wrong exception"
- Resolved
-
JDK-8274869 sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions. SSL test failures caused by java failed with "Server reported the wrong exception"
- Resolved
- relates to
-
JDK-8259662 Don't wrap SocketExceptions into SSLExceptions in SSLSocketImpl
- Resolved
-
JDK-8262436 SSL test failures caused by java.net.SocketException
- Closed
- links to
-
Commit openjdk/jdk11u-dev/aa79d2b4
-
Commit openjdk/jdk/3aa7062c
-
Review openjdk/jdk11u-dev/79
-
Review openjdk/jdk/4308