langtools/test/tools/doclint/AnchorTest2.java
author martin
Thu, 30 Oct 2014 07:31:41 -0700
changeset 28059 e576535359cc
parent 19120 7766f69bffc7
child 30730 d3ce7619db2c
permissions -rw-r--r--
8067377: My hobby: caning, then then canning, the the can-can Summary: Fix ALL the stutters! Reviewed-by: rriggs, mchung, lancea

/*
 * @test /nodynamiccopyright/
 * @bug 8020313
 * @summary doclint doesn't reset HTML anchors correctly
 * @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() { }
}