RFR: 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
Wed Jun 2 18:41:28 UTC 2021
On Wed, 2 Jun 2021 17:29:51 GMT, Clive Verghese <cverghese at openjdk.org> wrote:
> Thank you @fguallini for fixing this test.
>
> Should the SocketException be expected by the client logic as well?
> https://github.com/openjdk/jdk/blob/3631a39a4797919acbc7862cb94fa7f7be7f4f8a/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketImplThrowsWrongExceptions.java#L135
Thanks, I did look at this but the SocketException was not thrown in the client side in any of the thousands of times I executed the test with the current PR fix, it does not seem to be necessary to expect the exception there
-------------
PR: https://git.openjdk.java.net/jdk/pull/4308
More information about the security-dev
mailing list