-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
8295944: Move the Http2TestServer and related classes into a package of its own #12160
Conversation
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
Webrevs
|
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.
Very nice refactoring overall. Thanks for taking that on! There are a few places where some lines should have been removed but were not. I made some suggestions. Also there are 9 classes that have kept their custom @modules
clause because they want to access
* java.base/sun.net.www
* java.base/sun.net
I wonder if we should just add these two in TEST.properties - and then remove the @modules
from these nine classes as well?
* java.logging | ||
* jdk.httpserver |
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.
Shouldn't these two lines be removed as well?
* java.logging | |
* jdk.httpserver |
* java.logging | ||
* jdk.httpserver |
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.
* java.logging | |
* jdk.httpserver |
* java.logging | ||
* jdk.httpserver |
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.
* java.logging | |
* jdk.httpserver |
* java.logging | ||
* jdk.httpserver |
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.
* java.logging | |
* jdk.httpserver |
* java.logging | ||
* jdk.httpserver |
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.
* java.logging | |
* jdk.httpserver |
* @modules java.base/sun.net.www.http | ||
* java.net.http/jdk.internal.net.http.common | ||
* java.net.http/jdk.internal.net.http.frame | ||
* java.net.http/jdk.internal.net.http.hpack | ||
* jdk.httpserver |
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.
* jdk.httpserver |
* java.logging | ||
* jdk.httpserver |
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.
* java.logging | |
* jdk.httpserver |
* @modules java.base/sun.net.www.http | ||
* java.net.http/jdk.internal.net.http.common | ||
* java.net.http/jdk.internal.net.http.frame | ||
* java.net.http/jdk.internal.net.http.hpack | ||
* jdk.httpserver |
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.
* jdk.httpserver |
* @modules java.base/sun.net.www.http | ||
* java.net.http/jdk.internal.net.http.common | ||
* java.net.http/jdk.internal.net.http.frame | ||
* java.net.http/jdk.internal.net.http.hpack | ||
* jdk.httpserver |
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.
* jdk.httpserver |
* @modules java.base/sun.net.www.http | ||
* java.net.http/jdk.internal.net.http.common | ||
* java.net.http/jdk.internal.net.http.frame | ||
* java.net.http/jdk.internal.net.http.hpack | ||
* jdk.httpserver |
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.
* jdk.httpserver |
Hello Daniel,
Thank you for catching these. These were genuine issues and were a leftover from my |
I think that's reasonable. When I changed most of these tests to remove After this change, there remains few tests which use only a limited subset of the modules delcared in Local testing with the latest state of the PR passed. I've now triggered a broader testing with these changes. |
@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 17 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. ➡️ To integrate this PR with the above commit message to the |
Thank you Daniel for the review. tier1, tier2, tier3 testing came back successful. |
/integrate |
Going to push as commit 8a47429.
Your commit was automatically rebased without conflicts. |
Can I please get a review of this change which addresses https://bugs.openjdk.org/browse/JDK-8295944?
As noted in the issue, the HttpClient testing helper infrastructure code resides in a default (unnamed) packages within the test hierarchy. The commit in this PR moves those classes into a specific package. The tests have been updated to refer to them correctly with proper package name references.
Additionally as noted in the issue, the
@modules
declaration used in the httpclient tests, were all the same and were repeated in all these tests. The commit in this PR moves those module references into theTEST.properties
to centralize such reference. Any test which needs additional modules can then use specific@modules
declaration in the test definition.No functional changes have been done in this PR.
tier1, tier2 and tier3 testing passed after these changes.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/12160/head:pull/12160
$ git checkout pull/12160
Update a local copy of the PR:
$ git checkout pull/12160
$ git pull https://git.openjdk.org/jdk pull/12160/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 12160
View PR using the GUI difftool:
$ git pr show -t 12160
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12160.diff