8221871: javadoc should not set role=region on <section> elements#1219
8221871: javadoc should not set role=region on <section> elements#1219psoujany wants to merge 5 commits intoopenjdk:masterfrom
Conversation
|
Hi @psoujany, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user psoujany" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
|
This contribution is on behalf of my employer, IBM, which is a corporate OCA signatory. |
|
/covered |
|
Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
@RealCLanger Could you please review this backport PR. Thank you. |
RealCLanger
left a comment
There was a problem hiding this comment.
I have one small remark. I'll run it through SAP's nightlies.
| * @test | ||
| * @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 8169819 8183037 8182765 8196202 | ||
| * 8202624 | ||
| * 8202624 8210047 8184205 8221871 |
There was a problem hiding this comment.
Please only add 8221871 here. The other two added items haven't been backported obviously.
There was a problem hiding this comment.
Sure, made the changes. Please review. Thank you.
06331e4 to
8f070b1
Compare
|
@psoujany Please do not rebase or force-push to an active PR as it invalidates existing review comments. All changes will be squashed into a single commit automatically when integrating. See OpenJDK Developers’ Guide for more information. |
Yep, in that case an incremental commit would have been nicer since your first version has already been reviewed. |
Do I need to revert my rebase now? Please let me know I'll try to do that. |
No, it's ok. Just for the next time... |
|
Our testing shows failures in jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java, please have a look. |
Fixed the test failures, Could you please check once. Thank you. |
I've reenabled this patch in our CI but too late for tonight's run. So we'll have to wait another 24 hours to see results. There are also whitespace issues reported by jcheck. Please address them. |
RealCLanger
left a comment
There was a problem hiding this comment.
Looks good now. SAP regression testing shows no problems any more.
|
@psoujany 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 88 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 (@RealCLanger) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
/integrate |
|
@psoujany You must not integrate a fix in a JDK Updates project before requesting (and receiving) maintainer approval. Please refer to the Wiki, especially point 6. In case you don't have JBS access, I can add the fix request on your behalf. In that case, please post the text for the fix request comment here and I'll copy&paste it over. Thx. |
|
@RealCLanger Apologies for adding integrate tag. I don't have access to JBS. Please add Fix Request 11. This is actual openjdk bug https://bugs.openjdk.org/browse/JDK-8221871. Thank you. |
I've added the fix request metadata to the JBS bug. Let's wait for approval. |
|
Hi @psoujany,
|
|
Sure, Thank you. |
|
/sponsor |
|
Going to push as commit 7318cdc.
Your commit was automatically rebased without conflicts. |
|
@RealCLanger @psoujany Pushed as commit 7318cdc. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
| // Test for package-frame page | ||
| checkOutput("pkg/package-frame.html", true, | ||
| "<!DOCTYPE HTML>", | ||
| "<meta name=\"dc.created\"", | ||
| "<main role=\"main\">\n" | ||
| + "<h1 class=\"bar\"><a href=\"package-summary.html\" target=\"classFrame\">pkg</a></h1>", | ||
| "<section role=\"region\">\n" | ||
| + "<h2 title=\"Interfaces\">Interfaces</h2>", | ||
| "<section role=\"region\">\n" | ||
| + "<h2 title=\"Classes\">Classes</h2>", | ||
| "<section role=\"region\">\n" | ||
| + "<h2 title=\"Enums\">Enums</h2>", | ||
| "<section role=\"region\">\n" | ||
| + "<h2 title=\"Exceptions\">Exceptions</h2>", | ||
| "<section role=\"region\">\n" | ||
| + "<h2 title=\"Errors\">Errors</h2>", | ||
| "<section role=\"region\">\n" | ||
| + "<h2 title=\"Annotation Types\">Annotation Types</h2>"); | ||
|
|
There was a problem hiding this comment.
I recently backported the original change JDK-8221871 to some other release and noticed this diff. I wonder why these lines were deleted? They seem related to JDK-8215599 which hasn't been backported.
There was a problem hiding this comment.
Hi, while backporting JDK-8221871 I've seen test failures at this code hence removed it which passed the tests. I wasn't aware JDK-8215599 needs to be backported first.
There was a problem hiding this comment.
I cannot see that JDK-8215599 has been ever backported, which is fine; I didn't say it should. However, I somehow managed to make those deleted lines work by accounting for the change brought by JDK-8221871 and was simply wondering what happened here. Here's the amended change:
// Test for package-frame page
checkOutput("pkg/package-frame.html", true,
"<!DOCTYPE HTML>",
"<meta name=\"dc.created\"",
"<main role=\"main\">\n"
+ "<h1 class=\"bar\"><a href=\"package-summary.html\" target=\"classFrame\">pkg</a></h1>",
"<section>\n"
+ "<h2 title=\"Interfaces\">Interfaces</h2>",
"<section>\n"
+ "<h2 title=\"Classes\">Classes</h2>",
"<section>\n"
+ "<h2 title=\"Enums\">Enums</h2>",
"<section>\n"
+ "<h2 title=\"Exceptions\">Exceptions</h2>",
"<section>\n"
+ "<h2 title=\"Errors\">Errors</h2>",
"<section>\n"
+ "<h2 title=\"Annotation Types\">Annotation Types</h2>");
There was a problem hiding this comment.
Hi, while backporting JDK-8221871 I've seen test failures at this code hence removed it which passed the tests. I wasn't aware JDK-8215599 needs to be backported first.
Thanks for clarification.
Backport javadoc should not set role=region on
The bug report for the same : https://bugs.openjdk.org/browse/JDK-8221871
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev pull/1219/head:pull/1219$ git checkout pull/1219Update a local copy of the PR:
$ git checkout pull/1219$ git pull https://git.openjdk.org/jdk11u-dev pull/1219/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1219View PR using the GUI difftool:
$ git pr show -t 1219Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/1219.diff