Jonathan Gibbons f765a7f513 8252712: move doclint to jdk.javadoc module
Reviewed-by: hannesw
2020-09-23 19:55:08 +00:00

17 lines
468 B
Java

/* @test /nodynamiccopyright/
* @bug 8025246
* @summary doclint is showing error on anchor already defined when it's not
* @library ../..
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref package-info.out package-info.java
* @compile/fail/ref=package-info.javac.out -XDrawDiagnostics -Werror -Xdoclint:all package-info.java
*/
/**
* <a name=here>here</a>
* <a name=here>here again</a>
*/
package p;