test/tools/doclint/tool/StatsTest.java

changeset 0
959103a6100f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/doclint/tool/StatsTest.java	Wed Apr 27 01:34:52 2016 +0800
     1.3 @@ -0,0 +1,19 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug 8006263
     1.7 + * @summary Supplementary test cases needed for doclint
     1.8 + * @library ..
     1.9 + * @build DocLintTester
    1.10 + * @run main DocLintTester -ref StatsTest.out -stats -Xmsgs:all StatsTest.java
    1.11 + */
    1.12 +
    1.13 +// warning: missing comment
    1.14 +public class StatsTest {
    1.15 +    /**
    1.16 +     * � � � �
    1.17 +     */
    1.18 +    public void errors() { }
    1.19 +
    1.20 +    /** 4 undocumented signature items */
    1.21 +    public int warnings(int a1, int a2) throws Exception { return 0; }
    1.22 +}

mercurial