8006263: Supplementary test cases needed for doclint

Reviewed-by: mcimadamore
This commit is contained in:
Peter Jensen 2013-01-21 10:00:46 -08:00 committed by Jonathan Gibbons
parent 00ae27b2cf
commit 7967c92db0
16 changed files with 954 additions and 16 deletions

View file

@ -0,0 +1,21 @@
/*
* @test /nodynamiccopyright/
* @bug 8006263
* @summary Supplementary test cases needed for doclint
* @library ..
* @build DocLintTester
* @run main DocLintTester -ref MaxDiagsTest.out -Xmaxerrs 2 -Xmaxwarns 2 MaxDiagsTest.java
* @run main DocLintTester -badargs -Xmaxerrs
* @run main DocLintTester -badargs -Xmaxwarns
* @run main DocLintTester -badargs -Xmaxerrs two -Xmaxwarns two MaxDiagsTest.java
*/
public class MaxDiagsTest {
/**
* � � � �
*/
public void errors() { }
/** 4 undocumented signature items */
public int warnings(int a1, int a2) throws Exception { return 0; }
}