mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8006263: Supplementary test cases needed for doclint
Reviewed-by: mcimadamore
This commit is contained in:
parent
00ae27b2cf
commit
7967c92db0
16 changed files with 954 additions and 16 deletions
19
langtools/test/tools/doclint/tool/StatsTest.java
Normal file
19
langtools/test/tools/doclint/tool/StatsTest.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 8006263
|
||||
* @summary Supplementary test cases needed for doclint
|
||||
* @library ..
|
||||
* @build DocLintTester
|
||||
* @run main DocLintTester -ref StatsTest.out -stats -Xmsgs:all StatsTest.java
|
||||
*/
|
||||
|
||||
// warning: missing comment
|
||||
public class StatsTest {
|
||||
/**
|
||||
* � � � �
|
||||
*/
|
||||
public void errors() { }
|
||||
|
||||
/** 4 undocumented signature items */
|
||||
public int warnings(int a1, int a2) throws Exception { return 0; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue