test/tools/doclint/tidy/MissingTag.java

Mon, 25 Nov 2013 17:42:28 -0800

author
jjg
date
Mon, 25 Nov 2013 17:42:28 -0800
changeset 2204
a78f51d6bd5e
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
Reviewed-by: darcy

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @library ..
     6  * @build DocLintTester
     7  * @run main DocLintTester -ref MissingTag.out MissingTag.java
     8  */
    10 // tidy: Warning: missing <.*>
    11 // tidy: Warning: missing </.*> before </.*>
    13 /**
    14  * </p>
    15  * <h1> <b> text </h1>
    16  */
    17 public class MissingTag { }

mercurial