8247815: doclint: recategorize "no description for ..." as MISSING, not SYNTAX

Reviewed-by: prappo
This commit is contained in:
Jonathan Gibbons 2020-06-19 11:04:52 -07:00
parent 2e6923ffd6
commit 8b6d3147fb
13 changed files with 44 additions and 40 deletions

View file

@ -1,15 +1,15 @@
/*
* @test /nodynamiccopyright/
* @bug 8004832
* @bug 8004832 8247815
* @summary Add new doclint package
* @modules jdk.compiler/com.sun.tools.doclint
* @build DocLintTester
* @run main DocLintTester -Xmsgs:-syntax EmptySinceTest.java
* @run main DocLintTester -Xmsgs:syntax -ref EmptySinceTest.out EmptySinceTest.java
* @run main DocLintTester -Xmsgs:-missing EmptySinceTest.java
* @run main DocLintTester -Xmsgs:missing -ref EmptySinceTest.out EmptySinceTest.java
*/
/** . */
public class EmptySinceTest {
/** @since */
int emptySince() { }
void emptySince() { }
}