14952
|
1 |
/*
|
|
2 |
* @test /nodynamiccopyright/
|
14962
|
3 |
* @bug 8004832
|
|
4 |
* @summary Add new doclint package
|
14952
|
5 |
* @build DocLintTester
|
|
6 |
* @run main DocLintTester -Xmsgs:-syntax EmptySerialFieldTest.java
|
|
7 |
* @run main DocLintTester -Xmsgs:syntax -ref EmptySerialFieldTest.out EmptySerialFieldTest.java
|
|
8 |
*/
|
|
9 |
|
|
10 |
import java.io.ObjectStreamField;
|
|
11 |
import java.io.Serializable;
|
|
12 |
|
|
13 |
/** . */
|
|
14 |
public class EmptySerialFieldTest implements Serializable {
|
|
15 |
|
|
16 |
/**
|
|
17 |
* @serialField empty String
|
|
18 |
*/
|
|
19 |
private static final ObjectStreamField[] serialPersistentFields = {
|
|
20 |
new ObjectStreamField("empty", String.class),
|
|
21 |
};
|
|
22 |
}
|