-
Notifications
You must be signed in to change notification settings - Fork 216
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
8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address #2121
Conversation
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
Webrevs
|
This backport pull request has now been updated with issue from the original commit. |
|
@jaikiran This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 77 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 (@phohensee) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Hi @jaikiran, you might want to re-run the GHA tests. |
Hello @GoeLin, I'm running some internal CI tests as well and I have a change in the works for (only) the test. I'll update this PR with that change soon and rerun the GitHub jobs as well. |
Hello Paul @phohensee, would you mind reviewing this again? The test has been updated to be a bit more robust based on what we had seen internally in our CI. |
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.
Lgtm. GHA failure is infra-related.
Thank you Paul. |
/sponsor |
Going to push as commit 4395668.
Your commit was automatically rebased without conflicts. |
@phohensee @jaikiran Pushed as commit 4395668. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Can I please get a review for this change which backports the fix that was done in https://bugs.openjdk.org/browse/JDK-8305906?
The fix in the source is a clean backport. However, the newly introduced test in mainline uses a test specific libraries which aren't the same in 17u. As a result, the tests
test/jdk/java/net/httpclient/http2/ConnectionReuseTest.java
had conflicts. I have manually updated relevant parts of that test to make it use the test libraries that are available and applicable in 17u.I have also verified that the test fails (as expected) if I undo the source change and passes when I re-introduce the source change. Additionally, I have run this test in our CI to verify that it passes.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2121/head:pull/2121
$ git checkout pull/2121
Update a local copy of the PR:
$ git checkout pull/2121
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2121/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2121
View PR using the GUI difftool:
$ git pr show -t 2121
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2121.diff
Webrev
Link to Webrev Comment