mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8247815: doclint: recategorize "no description for ..." as MISSING, not SYNTAX
Reviewed-by: prappo
This commit is contained in:
parent
2e6923ffd6
commit
8b6d3147fb
13 changed files with 44 additions and 40 deletions
|
@ -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) { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue