langtools/test/tools/doclint/EmptySerialFieldTest.java
author duke
Wed, 05 Jul 2017 18:59:39 +0200
changeset 18044 f1a01fb5f958
parent 14962 19ffdfafbcd2
child 30730 d3ce7619db2c
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     1
/*
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
14962
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     3
 * @bug 8004832
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     4
 * @summary Add new doclint package
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     5
 * @build DocLintTester
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     6
 * @run main DocLintTester -Xmsgs:-syntax EmptySerialFieldTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     7
 * @run main DocLintTester -Xmsgs:syntax -ref EmptySerialFieldTest.out EmptySerialFieldTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     8
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     9
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    10
import java.io.ObjectStreamField;
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    11
import java.io.Serializable;
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    12
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    13
/** . */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    14
public class EmptySerialFieldTest implements Serializable {
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    15
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    16
    /**
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    17
     * @serialField empty    String
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    18
     */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    19
    private static final ObjectStreamField[] serialPersistentFields = {
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    20
        new ObjectStreamField("empty", String.class),
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    21
    };
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    22
}