jdk-24/test/langtools/tools/doclint/tidy/TextNotAllowed.java
Jonathan Gibbons f765a7f513 8252712: move doclint to jdk.javadoc module
Reviewed-by: hannesw
2020-09-23 19:55:08 +00:00

28 lines
625 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8004832
* @summary Add new doclint package
* @library ..
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref TextNotAllowed.out TextNotAllowed.java
*/
// tidy: Warning: plain text isn't allowed in <.*> elements
/**
* <table summary=description> abc </table>
* <table summary=description> <tbody> abc </tbody> </table>
* <table summary=description> <tr> abc </tr> </table>
*
* <dl> abc </dl>
* <ol> abc </ol>
* <ul> abc </ul>
*
* <ul>
* <li> item
* <li> item
* </ul>
*/
public class TextNotAllowed { }