1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/doclint/tool/MaxDiagsTest.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,21 @@ 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 MaxDiagsTest.out -Xmaxerrs 2 -Xmaxwarns 2 MaxDiagsTest.java 1.11 + * @run main DocLintTester -badargs -Xmaxerrs 1.12 + * @run main DocLintTester -badargs -Xmaxwarns 1.13 + * @run main DocLintTester -badargs -Xmaxerrs two -Xmaxwarns two MaxDiagsTest.java 1.14 + */ 1.15 + 1.16 +public class MaxDiagsTest { 1.17 + /** 1.18 + * � � � � 1.19 + */ 1.20 + public void errors() { } 1.21 + 1.22 + /** 4 undocumented signature items */ 1.23 + public int warnings(int a1, int a2) throws Exception { return 0; } 1.24 +}