[jdk11u-dev] RFR: 8222091: Javadoc does not handle package annotations correctly on package-info.java
Liam Miller-Cushon
cushon at openjdk.org
Tue Nov 22 19:15:31 UTC 2022
On Tue, 25 Oct 2022 17:06:11 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:
> This is a backport of [JDK-8222091: Javadoc does not handle package annotations correctly on package-info.java](https://bugs.openjdk.java.net/browse/JDK-8222091)
>
> This fixes a regression in 11.0.17 caused by the backport of [JDK-8193462](https://bugs.openjdk.org/browse/JDK-8193462), see [JDK-8295850](https://bugs.openjdk.org/browse/JDK-8295850)
>
> Original patch applied cleanly, the test was updated due to some changes in test infrastructrure:
>
>
> diff --git a/test/langtools/jdk/javadoc/doclet/testPackageAnnotation/TestPackageAnnotation.java b/test/langtools/jdk/javadoc/doclet/testPackageAnnotation/TestPackageAnnotation.java
> index cd9697eede..9f04777f81 100644
> --- a/test/langtools/jdk/javadoc/doclet/testPackageAnnotation/TestPackageAnnotation.java
> +++ b/test/langtools/jdk/javadoc/doclet/testPackageAnnotation/TestPackageAnnotation.java
> @@ -25,14 +25,12 @@
> * @test
> * @bug 8222091
> * @summary Javadoc does not handle package annotations correctly on package-info.java
> - * @library ../../lib/
> + * @library ../lib/
> * @modules jdk.javadoc/jdk.javadoc.internal.tool
> - * @build javadoc.tester.*
> + * @build JavadocTester
> * @run main TestPackageAnnotation
> */
>
> -import javadoc.tester.JavadocTester;
> -
> public class TestPackageAnnotation extends JavadocTester {
>
> public static void main(String... args) throws Exception {
>
>
> Tested: tier1 langtools tests passed
Any takers?
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/1475
More information about the jdk-updates-dev
mailing list