java-topology/test/langtools/tools/doclint/SummaryTest.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

31 lines
719 B
Java

/*
* @test /nodynamiccopyright/
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref SummaryTest.out SummaryTest.java
*/
/** No comment. */
public class SummaryTest {
/**
{@summary legal} **/
public void m_legal() {}
/** <p> {@summary illegal} **/
public void m_illegal_html() {}
/** text {@summary illegal} **/
public void m_illegal_text() {}
/** &amp;{@summary illegal} **/
public void m_illegal_entity() {}
/** @@{@summary illegal} **/
public void m_illegal_escape() {}
/** {@summary legal} text {@summary illegal} **/
public void m_illegal_repeat() {}
/** . */
private SummaryTest() { }
}