langtools/test/tools/doclint/SummaryTest.java
author ksrini
Tue, 15 Aug 2017 13:16:32 -0700
changeset 46184 f1325703ea85
permissions -rw-r--r--
8173425: Javadoc needs a new tag to specify the summary. Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
46184
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     1
/*
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     3
 * @modules jdk.compiler/com.sun.tools.doclint
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     4
 * @build DocLintTester
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     5
 * @run main DocLintTester -ref SummaryTest.out SummaryTest.java
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     6
 */
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     7
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     8
/** No comment. */
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
     9
public class SummaryTest {
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    10
    /**
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    11
     {@summary legal} **/
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    12
    public void m0() {}
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    13
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    14
    /** <p> {@summary illegal} **/
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    15
    public void m1() {}
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    16
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    17
    /** {@summary legal} text {@summary illegal} **/
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    18
    public void m2() {}
f1325703ea85 8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
diff changeset
    19
}