test/tools/doclint/EmptySerialFieldTest.java

Mon, 23 Sep 2013 17:27:38 +0400

author
kizune
date
Mon, 23 Sep 2013 17:27:38 +0400
changeset 2048
809a50f24d6f
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

7154966: CRs found to be in Fixed state with no test and no noreg- keyword.
Reviewed-by: ksrini

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

mercurial