-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8314991 | 17.0.10-oracle | Ramesh Yuvaraj | P3 | Resolved | Fixed | b01 |
JDK-8317877 | 17.0.10 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8329304 | 11.0.24-oracle | Nibedita Jena | P3 | Resolved | Fixed | b02 |
JDK-8341739 | 8u441 | Nibedita Jena | P3 | Resolved | Fixed | master |
Over the years, the templates have been updated quite significantly:
1. They have switched from using a central binary keystore file to storing the key material in the test framework itself.
2. Test classes are now expected to extend the Framework files rather than copy the entire template. e.g.
public MyTest extends SSLEngine {...}
Unfortunately, we now have three completely different styles of tests, which really should be harmonized.
1. SSLSocket.java: has the largest collection of key material for all kinds of different test cases. EC/RSA/DSA/ED25519/ED448/
with different keylengths/curves/signatures.
2. SSLEngineTemplate.java has a smaller collection of key material stored in SSLContextTemplate, and is the superclass of SSLEngineTemplate.
3. SSLSocketSSLEngineTemplate uses the existing binary keystore which has just a few entries (5). Tests directly copy this file, rather than extend it.
These really should be harmonized so that tests all have the same functionality/keys, and the only thing different is the code to be tested.
In addition, this should also incorporate
./javax/net/ssl/FixingJavadocs/SSLSessionNulls.java
./sun/security/ssl/SSLSocketImpl/ReuseAddr.java
./sun/security/ssl/SSLContextImpl/MultipleChooseAlias.java
./sun/security/ssl/SignatureScheme/SigAlgosExtTestWithTLS12.java
./sun/security/ssl/SignatureScheme/SigSchemePropOrdering.java
I'm closing
- backported by
-
JDK-8314991 Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
- Resolved
-
JDK-8317877 Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
- Resolved
-
JDK-8329304 Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
- Resolved
-
JDK-8341739 Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
- Resolved
- duplicates
-
JDK-8019776 Make the JSSE Test Templates into a library
- Closed
- relates to
-
JDK-8301194 Update TLS tests to use SSLContextTemplate and SSLEngineTemplate
- Resolved
-
JDK-8337669 [17u] Backport of JDK-8284047 missed to delete a file
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/5e0be488
-
Commit openjdk/jdk/824a5e4c
-
Review openjdk/jdk17u-dev/1849
-
Review openjdk/jdk/12555