[jdk8u-dev] RFR: 8282511: Use fixed certificate validation date in SSLExampleCert template [v2]

Roman Marchenko rmarchenko at openjdk.org
Wed Jan 18 08:48:58 UTC 2023


On Wed, 18 Jan 2023 07:59:10 GMT, Roman Marchenko <rmarchenko at openjdk.org> wrote:

>> Actually clean backport. Test files changed only.
>> 
>> There were 2 changes with test files paths:
>> 
>> - Original `test/jdk/javax/net/ssl/ServerName/EndingDotHostname.java` path changed to `jdk/test/javax/net/ssl/ServerName/EndingDotHostname.java`.
>> - Original `test/jdk/javax/net/ssl/templates/SSLExampleCert.java` path changed to `jdk/test/javax/net/ssl/templates/SSLExampleCert.java`.
>> 
>> The original changes use JDK17 strings in SSLExampleCert.java, so it was adapted for JDK8 with the additional commit as it was done for JDK11 backport.
>> 
>> Additionaly the test uses 'hosts' file substitution that is not available in JDK8. So, it was replaced with a custom NameService implementation.
>> 
>> Please note that this PR is a part of dependant PR chain
>> Prev PRs:
>> - #205 
>> - #206
>
> Roman Marchenko has updated the pull request with a new target base due to a merge or a rebase.

The original changes use JDK17 strings in SSLExampleCert.java, so it was adapted for JDK8 with the additional commit as it was done for JDK11 backport.

Additionaly the test uses 'hosts' file substitution that is not available in JDK8. So, it was replaced with a custom NameService implementation.

Force-pushed to keep the commit history clean to make reviewing easier.

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

PR: https://git.openjdk.org/jdk8u-dev/pull/207


More information about the jdk8u-dev mailing list