[jdk11u-dev] RFR: 8221871: javadoc should not set role=region on <section> elements [v6]

Pavel Rappo prappo at openjdk.org
Fri Jan 27 10:38:31 UTC 2023


On Fri, 27 Jan 2023 08:16:13 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> 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.
>
> 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 ammended 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>");

> 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.

-------------

PR: https://git.openjdk.org/jdk11u-dev/pull/1219


More information about the jdk-updates-dev mailing list