test/tools/doclint/MissingThrowsTest.java

Mon, 25 Nov 2013 17:42:28 -0800

author
jjg
date
Mon, 25 Nov 2013 17:42:28 -0800
changeset 2204
a78f51d6bd5e
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
Reviewed-by: darcy

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @build DocLintTester
     6  * @run main DocLintTester -Xmsgs:-missing MissingThrowsTest.java
     7  * @run main DocLintTester -Xmsgs:missing -ref MissingThrowsTest.out MissingThrowsTest.java
     8  */
    10 /** */
    11 public class MissingThrowsTest {
    12     /** */
    13     void missingThrows() throws Exception { }
    14 }

mercurial