RFR[15] JDK-8243029: Rewrite javax/net/ssl/compatibility/Compatibility.java with a flexible interop test framework

sha.jiang at oracle.com sha.jiang at oracle.com
Mon Apr 20 01:33:51 UTC 2020


Hi,
This patch introduces a flexible test framework for supporting JSSE 
interop testing.
This framework supports the SSL/TLS communication between not only JDK 
builds,
but also possibly other TLS implementations.

The original test cases in 
javax/net/ssl/compatibility/Compatibility.java are
divided into 3 separated tests, namely BasicConnectTest.java, 
SniTest.java and
AlpnTest.java, and introduces a new compatibility test on TLS 1.3 hello 
retry
request, namely HrrTest.java. These tests depend on the aforementioned 
framework.

And the negative cases are removed for making the test results clean and 
clear.
It doesn't generate result report anymore. All of failed test cases are 
highlighted
at the end of a test run.

Additionally, more compatibility tests will be added.

Webrev: http://cr.openjdk.java.net/~jjiang/8243029/webrev.00/
Issue: https://bugs.openjdk.java.net/browse/JDK-8243029

Best regards,
John Jiang




More information about the security-dev mailing list