test/tools/doclint/tool/MaxDiagsTest.java

Thu, 24 Oct 2013 11:22:50 -0700

author
bpatel
date
Thu, 24 Oct 2013 11:22:50 -0700
changeset 2169
667843bd2193
parent 0
959103a6100f
permissions
-rw-r--r--

8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
Reviewed-by: jjg

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8006263
     4  * @summary Supplementary test cases needed for doclint
     5  * @library ..
     6  * @build DocLintTester
     7  * @run main DocLintTester -ref MaxDiagsTest.out -Xmaxerrs 2 -Xmaxwarns 2 MaxDiagsTest.java
     8  * @run main DocLintTester -badargs -Xmaxerrs
     9  * @run main DocLintTester -badargs -Xmaxwarns
    10  * @run main DocLintTester -badargs -Xmaxerrs two -Xmaxwarns two MaxDiagsTest.java
    11  */
    13 public class MaxDiagsTest {
    14     /**
    15      * � � � �
    16      */
    17     public void errors() { }
    19     /** 4 undocumented signature items */
    20     public int warnings(int a1, int a2) throws Exception { return 0; }
    21 }

mercurial