RFR: 8262409: sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions. SSL test failures caused by java failed with "Server reported the wrong exception"
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Wed Jun 2 16:24:29 UTC 2021
On Wed, 2 Jun 2021 14:03:57 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:
> The test `SSLSocketImplThrowsWrongExceptions` is failing intermittently after the change: [JDK-8259662: Don't wrap SocketExceptions into SSLExceptions in SSLSocketImpl](https://bugs.openjdk.java.net/browse/JDK-8259662)
>
> Since SocketExceptions are not wrapped into SSLException, also need to be caught. Other tests that were expecting a SSLException to be thrown under certain condition were updated with a similar fix in the change previously mentioned.
>
> In addition, thread.sleep was replaced with a CountDownLatch for client/server synchronization
Marked as reviewed by xuelei (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/4308
More information about the security-dev
mailing list