[8u] TLSv1.3 RFR: 8245681: Add TLSv1.3 regression test from 11.0.7

Alexey Bakhtin alexey at azul.com
Sun May 24 18:05:25 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-8245681
Webrev: http://cr.openjdk.java.net/~abakhtin/tls1.3/8245466/8245681/webrev.v0/

This is a third part of TLS test update.

This patch adds TLS related regression tests from the JDK11.0.7 implementation.
This patch should be applied after the JDK-8245653
After the patch is applied all regression tests should pass successfully with new TLS implementation

Some notes for this patch:
- I had to exclude javax/net/ssl/HttpsURLConnection/Equals.java test ( marked as @ignore )
  This test verifies changes introduced by JDK-8055299 [1]. May be we should backport
  JDK-8055299 in terms of this TLSv1.3 implementation
- Test sun/security/ssl/SSLSocketImpl/ClientTimeout.java is ignored in 11.0.7 but will fixed
   in 11.0.8 by JDK-8239798 [2]. JDK-8239798 fixes backward compatibility issue between
   JDK11 and JDK8 for TLS connection. It seems this fix should be added to the new
   TLS implementation for JDK8u
- I've fixed trivial build issue in the sun/security/ec/TestEC.java
- I’ve fixed sun/security/krb5/auto/SSL.java test. Test change is caused by
  new implementation of RFC2712 for TLSv1.3 [3]

[1] - https://bugs.openjdk.java.net/browse/JDK-8055299
[2] - https://bugs.openjdk.java.net/browse/JDK-8239798
[3] - http://cr.openjdk.java.net/~abakhtin/tls1.3/8245466/8245474/webrev.v0/

Regards
Alexey


More information about the jdk8u-dev mailing list