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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19120
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     1
/*
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     3
 * @bug 8020313
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     4
 * @summary doclint doesn't reset HTML anchors correctly
30730
d3ce7619db2c 8076543: Add @modules as needed to the langtools tests
akulyakh
parents: 19120
diff changeset
     5
 * @modules jdk.compiler/com.sun.tools.doclint
19120
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     6
 * @build DocLintTester
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     7
 * @run main DocLintTester -ref AnchorTest2.out AnchorTest2.java AnchorTest2a.java
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     8
 * @run main DocLintTester -ref AnchorTest2.out AnchorTest2a.java AnchorTest2.java
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     9
 */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    10
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    11
/** */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    12
public class AnchorTest2 {
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    13
    /** <a name="AnchorTest2"> </a> */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    14
    public void a_name_AnchorTest2() { }
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    15
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    16
    /** <a name="AnchorTest2"> </a> */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    17
    public void a_name_AnchorTest2_already_defined() { }
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    18
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    19
    /** <a name="AnchorTest2a"> </a> */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    20
    public void a_name_AnchorTest2a_defined_in_other_file() { }
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    21
}