author | joehw |
Tue, 09 May 2017 10:34:32 -0700 | |
changeset 45036 | 4210d32dacab |
parent 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
14952 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
14962 | 3 |
* @bug 8004832 |
4 |
* @summary Add new doclint package |
|
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
14962
diff
changeset
|
5 |
* @modules jdk.compiler/com.sun.tools.doclint |
14952 | 6 |
* @build DocLintTester |
7 |
* @run main DocLintTester -Xmsgs:-syntax EmptySerialFieldTest.java |
|
8 |
* @run main DocLintTester -Xmsgs:syntax -ref EmptySerialFieldTest.out EmptySerialFieldTest.java |
|
9 |
*/ |
|
10 |
||
11 |
import java.io.ObjectStreamField; |
|
12 |
import java.io.Serializable; |
|
13 |
||
14 |
/** . */ |
|
15 |
public class EmptySerialFieldTest implements Serializable { |
|
16 |
||
17 |
/** |
|
18 |
* @serialField empty String |
|
19 |
*/ |
|
20 |
private static final ObjectStreamField[] serialPersistentFields = { |
|
21 |
new ObjectStreamField("empty", String.class), |
|
22 |
}; |
|
23 |
} |