Integrated: 8262409: sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions. SSL test failures caused by java failed with "Server reported the wrong exception"

Fernando Guallini fguallini at openjdk.java.net
Thu Jun 3 16:09:43 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

This pull request has now been integrated.

Changeset: 3aa7062c
Author:    Fernando Guallini <fguallini at openjdk.org>
Committer: Rajan Halade <rhalade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3aa7062c3dd41e06df67b46473ee2ef5a9671cf9
Stats:     14 lines in 2 files changed: 0 ins; 3 del; 11 mod

8262409: sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions. SSL test failures caused by java failed with "Server reported the wrong exception"

Reviewed-by: rhalade, xuelei

-------------

PR: https://git.openjdk.java.net/jdk/pull/4308



More information about the security-dev mailing list