RFR: 8298867: Basics.java fails with SSL handshake exception [v2]

Rajan Halade rhalade at openjdk.org
Thu Dec 22 19:01:49 UTC 2022


On Thu, 22 Dec 2022 18:00:11 GMT, Matthew Donovan <duke at openjdk.org> wrote:

>> Updated to use specific ciphersuite and TLS protocol.
>> Updated tests based on changes to SSLEngine implementation
>
> Matthew Donovan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added additional protocols

test/jdk/javax/net/ssl/SSLEngine/Basics.java line 34:

> 32:  * @library /test/lib
> 33:  * @author Brad Wetmore
> 34:  * @run main Basics

Please use othervm to run this test as security properties are altered.

test/jdk/javax/net/ssl/SSLEngine/Basics.java line 103:

> 101:                 .findFirst()
> 102:                 .orElseThrow((() ->
> 103:                         new RuntimeException(cipherSuite +

Test throws the Exception, not RuntimeException in other failure cases in this test. Can you please update those to RuntimeException as well?

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

PR: https://git.openjdk.org/jdk/pull/11760



More information about the security-dev mailing list