test/tools/doclint/EmptyExceptionTest.java

Tue, 24 Sep 2013 13:48:12 -0700

author
jjg
date
Tue, 24 Sep 2013 13:48:12 -0700
changeset 2054
3ae62331a56f
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8002154: [doclint] doclint should check for issues which are errors in javadoc
Reviewed-by: bpatel

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @build DocLintTester
     6  * @run main DocLintTester -Xmsgs:-syntax EmptyExceptionTest.java
     7  * @run main DocLintTester -Xmsgs:syntax -ref EmptyExceptionTest.out EmptyExceptionTest.java
     8  */
    10 /** . */
    11 public class EmptyExceptionTest {
    12     /** @exception NullPointerException */
    13     int emptyException() throws NullPointerException { }
    14 }

mercurial