-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8282511: Use fixed certificate validation date in SSLExampleCert template #207
8282511: Use fixed certificate validation date in SSLExampleCert template #207
Conversation
👋 Welcome back rmarchenko! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
/clean |
@wkia Only OpenJDK Committers can use the |
/reviewers 2 reviewer |
@gnu-andrew |
b86ea4c
to
67036c6
Compare
67036c6
to
6860520
Compare
7781cea
to
58e3086
Compare
@wkia Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
58e3086
to
491b6b9
Compare
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. |
@wkia Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
@gnu-andrew Could you also review this, please? |
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout backport-268fa693188b685de6289927ee5a1e99473a50f6
git fetch https://git.openjdk.org/jdk8u-dev master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
@wkia this pull request can not be integrated into git checkout backport-268fa693188b685de6289927ee5a1e99473a50f6
git fetch https://git.openjdk.org/jdk8u-dev master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
@gnu-andrew Could you re-review, please? |
As far as I can see, the 11u backport still had text blocks. Do you mean you've also included the changes in JDK-8299445 here? If so, we should reference it too.
Thanks for removing the superfluous module line. Is there a reason the custom Has the test been run successfully on 8u? The follow-up fix on 11u suggests this wasn't done before committing the fix to 11u. |
/issue JDK-8299445 |
@gnu-andrew Only the author (@wkia) is allowed to issue the |
/issue JDK-8299445 |
@wkia |
Thanks, I added the reference. Should I add "jdk8u-fix-request" label to JDK-8299445?
Sounds reasonable, thanks. I've updated the code.
Yes, it passes successfully on my Win11/Cygwin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that looks a lot simpler.
Yes, jdk8u-fix-request
can be added to the bug now all reviews are complete. Once you've done that, I'll approve and you can run the integrate
command.
Thanks for persisting with this one.
@wkia This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 26 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@yan-too, @gnu-andrew) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
/sponsor |
Going to push as commit 3af19d3.
Your commit was automatically rebased without conflicts. |
Test files changed only.
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.
There were 2 changes with test files paths:
test/jdk/javax/net/ssl/ServerName/EndingDotHostname.java
path changed tojdk/test/javax/net/ssl/ServerName/EndingDotHostname.java
.test/jdk/javax/net/ssl/templates/SSLExampleCert.java
path changed tojdk/test/javax/net/ssl/templates/SSLExampleCert.java
.Please note that this PR is a part of dependant PR chain
Prev PRs:
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev pull/207/head:pull/207
$ git checkout pull/207
Update a local copy of the PR:
$ git checkout pull/207
$ git pull https://git.openjdk.org/jdk8u-dev pull/207/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 207
View PR using the GUI difftool:
$ git pr show -t 207
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/207.diff