-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8338554: Fix inconsistencies in javadoc/doclet/testLinkOption/TestRedirectLinks.java #24359
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
Conversation
|
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
|
@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 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. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
| + x.getRequestURI()); | ||
| String newProtocol = (newServer instanceof HttpsServer) ? "https" : "http"; | ||
| String redirectTo = newProtocol + ":/" + newServer.getAddress() + x.getRequestURI(); | ||
| String redirectTo = null; |
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.
| String redirectTo = null; | |
| String redirectTo; |
liach
left a comment
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.
neat cleanup
nizarbenalla
left a comment
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.
I see that the use of InetSocketAddress::toString was dropped as it's not recommended when building URL strings.
Changes look good, thanks Jaikiran.
|
Thank you Chen and Nizar for the reviews. |
|
/integrate |
|
Going to push as commit 9bb804b.
Your commit was automatically rebased without conflicts. |
Can I please get a review of this test-only change which proposes to clean up some issues noticed in the
TestRedirectLinks.javatest?The
javadoc/doclet/testLinkOption/TestRedirectLinks.javatest has been failing intermittently in our CI. The root cause of those failures isn't yet clear and those failures are being tracked in https://bugs.openjdk.org/browse/JDK-8338439.While investigating those failures, it was noticed that this test had some issues that could be addressed separately to rule out their role in the intermittent failures.
The commit in this PR updates the test to using existing test library classes to construct the request URL as well as for constructing the SSLContext. The test is also updated to use the correct value to represent "no response body" when calling the
sendResponseHeaders()method.The test continues to pass with this change. We will continue investigating the intermittent failure if/when it occurs again after this change.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24359/head:pull/24359$ git checkout pull/24359Update a local copy of the PR:
$ git checkout pull/24359$ git pull https://git.openjdk.org/jdk.git pull/24359/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24359View PR using the GUI difftool:
$ git pr show -t 24359Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24359.diff
Using Webrev
Link to Webrev Comment