[8u] TLSv1.3 RFR: 8251478: Backport TLSv1.3 regression tests to JDK8u
Alexey Bakhtin
alexey at azul.com
Wed Aug 12 18:55:57 UTC 2020
Please review changes required to backport TLSv1.3 protocol from JDK11.0.7 to JDK8u
JBS task: https://bugs.openjdk.java.net/browse/JDK-8251478
Webrev: http://cr.openjdk.java.net/~abakhtin/tls1.3/8245466/8251478/webrev.v0/
Git diff: http://cr.openjdk.java.net/~abakhtin/tls1.3/8245466/8251478/webrev.v0/jdk.git.diff
This is a fourth part of TLS test update.
This patch fixes JDK8 compatibility for the TLSv1.3 regression tests.
Most of the fixes are :
- removed @modules annotation
- fixed path to libraries
Specific test changes:
- fixed KeyStore creation:
- javax/net/ssl/SSLSession/RenegotiateTLS13.java:
- sun/security/ssl/SSLEngineImpl/SSLEngineKeyImpl.java
- sun/security/ssl/SSLEngineImpl/TLS13BeginHandshake.java
- sun/security/ssl/SSLSocketImpl/SSLSocketKeyLimit.java
- fixed ArrayList creation:
- javax/net/ssl/SSLSession/ResumeTLS13withSNI.java
- javax/net/ssl/Stapling/SSLEngineWithStapling.java
- fixed JDK8 compatibility
- javax/net/ssl/templates/SSLContextTemplate.java
- added fix for the client default disabled TLSv1.3 protocol
- javax/net/ssl/TLS/TLSClientPropertyTest.java
- sun/security/ssl/SSLContextImpl/CustomizedServerDefaultProtocol.java
- sun/security/ssl/SSLContextImpl/DefaultEnabledProtocols.java
- fixed HttpsURLConnection API changes
- sun/net/www/protocol/https/NewImpl/ComHTTPSConnection.java
- added “jdk.tls.client.protocols” cmdline options to fix client default disabled TLSv1.3 protocol:
- javax/net/ssl/SSLSession/ResumeTLS13withSNI.java
- javax/net/ssl/SSLSocket/TLS13PacketSize.java
- javax/net/ssl/Stapling/HttpsUrlConnClient.java
- javax/net/ssl/Stapling/SSLEngineWithStapling.java
- javax/net/ssl/Stapling/SSLSocketWithStapling.java
- javax/net/ssl/Stapling/StapleEnableProps.java
- sun/security/ssl/SLSessionImpl/ResumeChecksClient.java
- sun/security/ssl/SLSessionImpl/ResumeChecksServer.java
- fixed issues related to DTLS specific API not available in JDK8:
- javax/net/ssl/TLSCommon/Protocol.java
- javax/net/ssl/TLSCommon/RehandshakeWithCipherChangeTest.java
- javax/net/ssl/TLSCommon/RehandshakeWithDataExTest.java
- javax/net/ssl/TLSCommon/SSLEngineTestCase.java
- changed test run script:
- sun/security/ssl/Stapling
- sun/security/ssl/internal
Regards
Alexey
More information about the jdk8u-dev
mailing list