2017-08-15 20:16:32 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2020-09-23 19:55:08 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
2017-08-15 20:16:32 +00:00
|
|
|
* @build DocLintTester
|
|
|
|
* @run main DocLintTester -ref SummaryTest.out SummaryTest.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** No comment. */
|
|
|
|
public class SummaryTest {
|
|
|
|
/**
|
|
|
|
{@summary legal} **/
|
2023-02-08 21:57:22 +00:00
|
|
|
public void m_legal() {}
|
2017-08-15 20:16:32 +00:00
|
|
|
|
|
|
|
/** <p> {@summary illegal} **/
|
2023-02-08 21:57:22 +00:00
|
|
|
public void m_illegal_html() {}
|
|
|
|
|
|
|
|
/** text {@summary illegal} **/
|
|
|
|
public void m_illegal_text() {}
|
|
|
|
|
|
|
|
/** &{@summary illegal} **/
|
|
|
|
public void m_illegal_entity() {}
|
|
|
|
|
|
|
|
/** @@{@summary illegal} **/
|
|
|
|
public void m_illegal_escape() {}
|
2017-08-15 20:16:32 +00:00
|
|
|
|
|
|
|
/** {@summary legal} text {@summary illegal} **/
|
2023-02-08 21:57:22 +00:00
|
|
|
public void m_illegal_repeat() {}
|
2021-08-11 18:03:40 +00:00
|
|
|
|
|
|
|
/** . */
|
|
|
|
private SummaryTest() { }
|
2017-08-15 20:16:32 +00:00
|
|
|
}
|