test/tools/doclint/packageTests/bad/Test.java

Thu, 31 Aug 2017 15:17:03 +0800

author
aoqi
date
Thu, 31 Aug 2017 15:17:03 +0800
changeset 2525
2eb010b6cb22
parent 1915
129751018061
parent 0
959103a6100f
permissions
-rw-r--r--

merge

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8020664 8021215
     4  * @summary doclint gives incorrect warnings on normal package statements
     5  * @library ../..
     6  * @build DocLintTester
     7  * @run main DocLintTester -ref Test.out Test.java
     8  * @compile/fail/ref=Test.javac.out -XDrawDiagnostics -Werror -Xdoclint:all Test.java
     9  */
    11 /** Unexpected comment */
    12 package bad;
    14 /** */
    15 class Test { }

mercurial