2013-07-18 02:12:03 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 8020313
|
|
|
|
* @summary doclint doesn't reset HTML anchors correctly
|
2015-05-21 18:41:04 +00:00
|
|
|
* @modules jdk.compiler/com.sun.tools.doclint
|
2013-07-18 02:12:03 +00:00
|
|
|
* @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() { }
|
|
|
|
}
|