-
Notifications
You must be signed in to change notification settings - Fork 236
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 #2531
8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address #2531
Conversation
👋 Welcome back varadam! 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
|
Hi @varada1110 , test/jdk/java/net/httpclient/http2/ConnectionReuseTest.java:41: error: package org.junit.jupiter.api does not exist |
#2553 solves a similar issue. |
Thanks @GoeLin for pointing that out. I tested with wrong jtreg version. I will fix the errors. |
Hi @GoeLin, can you please review the changes. Test is passing now with jtreg 6.1 |
@varada1110 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 74 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 |
@phohensee would you be able to take a look at this, as you reviewed the head PR as well. |
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.
The source changes look OK to me and matches the changes that were done in mainline. The test looks OK too. But do note that I haven't run it against JDK 11u to ascertain that the test work as expected. As long as the test fails without the source changes and passes with the source changes, I think this is fine.
I am not involved in JDK update project, so before integrating, please also have this approved by someone who is involved in JDK updates project.
Thank you @jaikiran for reviewing the changes. |
|
GHA failures appear infrastructure related. |
/approval request org.junit.jupiter.api is not supported. Therefore, I have added the similar annotations supported by org.junit.* |
@varada1110 usage: |
no, this is not valid reason for the approval. You need to mention "why" you want to backport this change, what issue you're fixing here ? |
use it like this : |
/approval request org.junit.jupiter.api is not supported. Therefore, I have added the similar annotations supported by org.junit.* @varada1110 I think instead of |
@offamitkumar Only the author (@varada1110) is allowed to issue the |
@varada1110 |
/approval JDK-8305906 request org.junit.jupiter.api is not supported. Therefore, I have added the similar annotations supported by org.junit.* |
@varada1110 |
Hi @varada1110 Also, we updated jtreg in the meantime. Your changes to the test are probably unnecessary now. Please check and undo them if possible. |
b192d63
to
9ebcf47
Compare
@varada1110 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. |
Hi @GoeLin , initially with the lower jtreg version, org.junit.jupiter.api was not supported and I changed the test to use the supported junit annotations. With the updated jtreg version 7.3, test is passing with the same change made in jdk17u-dev. |
Hi @GoeLin , Could you please review the code? All checks have passed and test is passing with updated jtreg |
This PR is clean and can apply for maintainer approval. |
/approval JDK-8305906 request test is passing with updated jtreg and PR is clean. |
@varada1110 |
/integrate |
@varada1110 |
/sponsor |
Going to push as commit b11a980.
Your commit was automatically rebased without conflicts. |
@TheRealMDoerr @varada1110 Pushed as commit b11a980. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
This pull request contains a backport of commit 43956686 from the openjdk/jdk17u-dev repository.
The commit being backported was authored by Jaikiran Pai on 16 Feb 2024 and was reviewed by Paul Hohensee.
Thanks!
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2531/head:pull/2531
$ git checkout pull/2531
Update a local copy of the PR:
$ git checkout pull/2531
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2531/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2531
View PR using the GUI difftool:
$ git pr show -t 2531
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2531.diff
Webrev
Link to Webrev Comment