2013-07-18 02:12:03 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2021-01-06 22:48:00 +00:00
|
|
|
* @bug 8020313 8247957
|
2013-07-18 02:12:03 +00:00
|
|
|
* @summary doclint doesn't reset HTML anchors correctly
|
2020-09-23 19:55:08 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
2013-07-18 02:12:03 +00:00
|
|
|
* @build DocLintTester
|
2021-08-11 18:03:40 +00:00
|
|
|
* @run main DocLintTester -Xmsgs:all,-missing -ref AnchorTest2.out AnchorTest2.java AnchorTest2a.java
|
|
|
|
* @run main DocLintTester -Xmsgs:all,-missing -ref AnchorTest2.out AnchorTest2a.java AnchorTest2.java
|
2013-07-18 02:12:03 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/** */
|
|
|
|
public class AnchorTest2 {
|
2021-01-06 22:48:00 +00:00
|
|
|
/** <a id="AnchorTest2"> </a> */
|
2013-07-18 02:12:03 +00:00
|
|
|
public void a_name_AnchorTest2() { }
|
|
|
|
|
2021-01-06 22:48:00 +00:00
|
|
|
/** <a id="AnchorTest2"> </a> */
|
2013-07-18 02:12:03 +00:00
|
|
|
public void a_name_AnchorTest2_already_defined() { }
|
|
|
|
|
2021-01-06 22:48:00 +00:00
|
|
|
/** <a id="AnchorTest2a"> </a> */
|
2013-07-18 02:12:03 +00:00
|
|
|
public void a_name_AnchorTest2a_defined_in_other_file() { }
|
|
|
|
}
|