langtools/test/tools/doclint/tidy/InvalidName.java
author katleman
Tue, 21 Jan 2014 18:17:23 -0800
changeset 22365 895bfde469d4
parent 14962 19ffdfafbcd2
child 30730 d3ce7619db2c
permissions -rw-r--r--
Added tag jdk9-b01 for changeset ae2d94255f32
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     1
/*
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
14962
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     3
 * @bug 8004832
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     4
 * @summary Add new doclint package
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     5
 * @library ..
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     6
 * @build DocLintTester
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     7
 * @run main DocLintTester -ref InvalidName.out InvalidName.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     8
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     9
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    10
// tidy: Warning: <a> cannot copy name attribute to id
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    11
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    12
/**
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    13
 * <a name="abc">valid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    14
 * <a name="abc123">valid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    15
 * <a name="a.1:2-3_4">valid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    16
 * <a name="foo()">invalid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    17
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    18
public class InvalidName { }