langtools/test/tools/doclint/AnchorTest2.java
author katleman
Tue, 21 Jan 2014 18:17:23 -0800
changeset 22365 895bfde469d4
parent 19120 7766f69bffc7
child 30730 d3ce7619db2c
permissions -rw-r--r--
Added tag jdk9-b01 for changeset ae2d94255f32
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
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     5
 * @build DocLintTester
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     6
 * @run main DocLintTester -ref AnchorTest2.out AnchorTest2.java AnchorTest2a.java
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     7
 * @run main DocLintTester -ref AnchorTest2.out AnchorTest2a.java AnchorTest2.java
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
     8
 */
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
public class AnchorTest2 {
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    12
    /** <a name="AnchorTest2"> </a> */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    13
    public void a_name_AnchorTest2() { }
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    14
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    15
    /** <a name="AnchorTest2"> </a> */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    16
    public void a_name_AnchorTest2_already_defined() { }
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    17
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    18
    /** <a name="AnchorTest2a"> </a> */
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    19
    public void a_name_AnchorTest2a_defined_in_other_file() { }
7766f69bffc7 8020313: doclint doesn't reset HTML anchors correctly
jjg
parents:
diff changeset
    20
}