java-topology/test/langtools/tools/doclint/tidy/TextNotAllowed.java
russell@unturf.com 0a580b313d undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com

Patches, unit tests, benchmarks, whitepaper, and outreach briefs.
Public domain — no copyright claimed. Use freely.
2026-03-26 17:11:57 -04:00

27 lines
692 B
Java

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