test/tools/doclint/EmptyExceptionTest.java

changeset 1455
75ab654b5cd5
child 1465
a22f23fb7abf
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/doclint/EmptyExceptionTest.java	Mon Dec 17 07:47:05 2012 -0800
     1.3 @@ -0,0 +1,12 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @build DocLintTester
     1.7 + * @run main DocLintTester -Xmsgs:-syntax EmptyExceptionTest.java
     1.8 + * @run main DocLintTester -Xmsgs:syntax -ref EmptyExceptionTest.out EmptyExceptionTest.java
     1.9 + */
    1.10 +
    1.11 +/** . */
    1.12 +public class EmptyExceptionTest {
    1.13 +    /** @exception NullPointerException */
    1.14 +    int emptyException() throws NullPointerException { }
    1.15 +}

mercurial