test/tools/doclint/tidy/TextNotAllowed.java

Mon, 31 Aug 2015 13:37:01 -0700

author
asaha
date
Mon, 31 Aug 2015 13:37:01 -0700
changeset 2971
153d0309e698
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

Added tag jdk8u65-b12 for changeset 54e958a3719e

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @library ..
     6  * @build DocLintTester
     7  * @run main DocLintTester -ref TextNotAllowed.out TextNotAllowed.java
     8  */
    10 // tidy: Warning: plain text isn't allowed in <.*> elements
    12 /**
    13  * <table summary=description> abc </table>
    14  * <table summary=description> <tbody> abc </tbody> </table>
    15  * <table summary=description> <tr> abc </tr> </table>
    16  *
    17  * <dl> abc </dl>
    18  * <ol> abc </ol>
    19  * <ul> abc </ul>
    20  *
    21  * <ul>
    22  *     <li> item
    23  *     <li> item
    24  * </ul>
    25  */
    26 public class TextNotAllowed { }

mercurial