jdk-24/test/langtools/tools/doclint/AnchorTest2.java
Jonathan Gibbons f765a7f513 8252712: move doclint to jdk.javadoc module
Reviewed-by: hannesw
2020-09-23 19:55:08 +00:00

22 lines
672 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8020313
* @summary doclint doesn't reset HTML anchors correctly
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref AnchorTest2.out AnchorTest2.java AnchorTest2a.java
* @run main DocLintTester -ref AnchorTest2.out AnchorTest2a.java AnchorTest2.java
*/
/** */
public class AnchorTest2 {
/** <a name="AnchorTest2"> </a> */
public void a_name_AnchorTest2() { }
/** <a name="AnchorTest2"> </a> */
public void a_name_AnchorTest2_already_defined() { }
/** <a name="AnchorTest2a"> </a> */
public void a_name_AnchorTest2a_defined_in_other_file() { }
}