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,11 +1,11 @@
/*
* @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 EmptySerialDataTest.java
* @run main DocLintTester -Xmsgs:syntax -ref EmptySerialDataTest.out EmptySerialDataTest.java
* @run main DocLintTester -Xmsgs:-missing EmptySerialDataTest.java
* @run main DocLintTester -Xmsgs:missing -ref EmptySerialDataTest.out EmptySerialDataTest.java
*/
import java.io.ObjectOutputStream;
@ -13,6 +13,10 @@ import java.io.Serializable;
/** . */
public class EmptySerialDataTest implements Serializable {
/** @serialData */
/**
* .
* @serialData
* @param s .
*/
private void writeObject(ObjectOutputStream s) { }
}