langtools/test/tools/doclint/AnchorTest2.java
author naoto
Tue, 29 Mar 2016 17:06:33 -0700
changeset 36739 145210aba850
parent 30730 d3ce7619db2c
permissions -rw-r--r--
8152704: jlink command line output/help message improvement Reviewed-by: mchung

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